Add nvpy, a Simplenote syncing note-taking application
This commit is contained in:
parent
8a66c8b8f8
commit
ba1ed681b6
34
pkgs/applications/misc/nvpy/default.nix
Normal file
34
pkgs/applications/misc/nvpy/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ pkgs, fetchurl, tk, buildPythonPackage, pythonPackages }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.9.2";
|
||||||
|
name = "nvpy-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/cpbotha/nvpy/archive/v${version}.tar.gz";
|
||||||
|
sha256 = "78e41b80fc5549cba8cfd92b52d6530e8dfc8e8f37e96e4b219f30c266af811d";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [tk];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pythonPackages.markdown
|
||||||
|
pythonPackages.tkinter
|
||||||
|
];
|
||||||
|
|
||||||
|
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"
|
||||||
|
|
||||||
|
wrapProgram $out/bin/nvpy --set TK_LIBRARY "${tk}/lib/${tk.libPrefix}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A simplenote-syncing note-taking tool inspired by Notational Velocity";
|
||||||
|
homepage = "https://github.com/cpbotha/nvpy";
|
||||||
|
license = pkgs.lib.licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
@ -8139,6 +8139,8 @@ let
|
|||||||
|
|
||||||
nvi = callPackage ../applications/editors/nvi { };
|
nvi = callPackage ../applications/editors/nvi { };
|
||||||
|
|
||||||
|
nvpy = callPackage ../applications/editors/nvpy { };
|
||||||
|
|
||||||
ocrad = callPackage ../applications/graphics/ocrad { };
|
ocrad = callPackage ../applications/graphics/ocrad { };
|
||||||
|
|
||||||
offrss = callPackage ../applications/networking/offrss { };
|
offrss = callPackage ../applications/networking/offrss { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user