nixpkgs/pkgs/applications/editors/nvpy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
991 B
Nix
Raw Normal View History

{ pkgs, fetchFromGitHub, python3Packages }:
2016-10-17 12:13:33 +00:00
let
pythonPackages = python3Packages;
2016-10-17 12:13:33 +00:00
in pythonPackages.buildPythonApplication rec {
2024-01-23 01:53:58 +00:00
version = "2.3.1";
pname = "nvpy";
src = fetchFromGitHub {
owner = "cpbotha";
repo = pname;
2022-07-04 06:44:20 +00:00
rev = "refs/tags/v${version}";
2024-01-23 01:53:58 +00:00
sha256 = "sha256-guNdLu/bCk89o5M3gQU7J0W4h7eZdLHM0FG5IAPLE7c=";
};
2016-10-17 12:13:33 +00:00
propagatedBuildInputs = with pythonPackages; [
markdown
docutils
simplenote
tkinter
];
2016-10-17 12:13:33 +00:00
# No tests
doCheck = false;
postInstall = ''
install -dm755 "$out/share/licenses/nvpy/"
install -m644 LICENSE.txt "$out/share/licenses/nvpy/LICENSE"
install -dm755 "$out/share/doc/nvpy/"
install -m644 README.rst "$out/share/doc/nvpy/README"
'';
2013-08-20 23:23:40 +00:00
meta = with pkgs.lib; {
description = "A simplenote-syncing note-taking tool inspired by Notational Velocity";
homepage = "https://github.com/cpbotha/nvpy";
2013-08-20 23:23:40 +00:00
platforms = platforms.linux;
license = licenses.bsd3;
2023-11-27 01:17:53 +00:00
mainProgram = "nvpy";
};
}