diff options
author | Benjamin Cahill <ben@benjamincahill.com> | 2013-07-12 18:09:53 -0500 |
---|---|---|
committer | Benjamin Cahill <ben@benjamincahill.com> | 2013-07-12 18:09:53 -0500 |
commit | ba1ed681b657ff52dfb1fbf12f47a94bfb3756f6 (patch) | |
tree | e32ac85faf789f15c99157b717e615d7b2eb411c /pkgs/applications/misc | |
parent | 8a66c8b8f8b0629cb03babb2cd9f26d6884b0541 (diff) | |
download | nixlib-ba1ed681b657ff52dfb1fbf12f47a94bfb3756f6.tar nixlib-ba1ed681b657ff52dfb1fbf12f47a94bfb3756f6.tar.gz nixlib-ba1ed681b657ff52dfb1fbf12f47a94bfb3756f6.tar.bz2 nixlib-ba1ed681b657ff52dfb1fbf12f47a94bfb3756f6.tar.lz nixlib-ba1ed681b657ff52dfb1fbf12f47a94bfb3756f6.tar.xz nixlib-ba1ed681b657ff52dfb1fbf12f47a94bfb3756f6.tar.zst nixlib-ba1ed681b657ff52dfb1fbf12f47a94bfb3756f6.zip |
Add nvpy, a Simplenote syncing note-taking application
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/nvpy/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/misc/nvpy/default.nix b/pkgs/applications/misc/nvpy/default.nix new file mode 100644 index 000000000000..2eb25ac83fe8 --- /dev/null +++ b/pkgs/applications/misc/nvpy/default.nix @@ -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; + }; +} |