diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-10-17 14:13:33 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-10-18 23:14:34 +0200 |
commit | be343cbce408006d735a065db5b96e3f85ae1ea7 (patch) | |
tree | 9e9175e0e37db4c0e62637ccac764dbcc600c7c5 /pkgs/applications/editors/nvpy/default.nix | |
parent | f17f64d203dc4e91135d9559fc21d11e2039da9c (diff) |
nvpy: use python2
Diffstat (limited to 'pkgs/applications/editors/nvpy/default.nix')
-rw-r--r-- | pkgs/applications/editors/nvpy/default.nix | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/applications/editors/nvpy/default.nix b/pkgs/applications/editors/nvpy/default.nix index 58893d085892..c9d86561fe26 100644 --- a/pkgs/applications/editors/nvpy/default.nix +++ b/pkgs/applications/editors/nvpy/default.nix @@ -1,6 +1,8 @@ -{ pkgs, fetchurl, tk, pythonPackages }: +{ pkgs, fetchurl, tk, python2Packages }: -pythonPackages.buildPythonApplication rec { +let + pythonPackages = python2Packages; +in pythonPackages.buildPythonApplication rec { version = "0.9.7"; name = "nvpy-${version}"; @@ -9,22 +11,21 @@ pythonPackages.buildPythonApplication rec { sha256 = "1rd3vlaqkg16iz6qcw6rkbq0jmyvc0843wa3brnvn1nz0kla243f"; }; - buildInputs = [tk]; - - propagatedBuildInputs = [ - pythonPackages.markdown - pythonPackages.tkinter - pythonPackages.docutils + propagatedBuildInputs = with pythonPackages; [ + markdown + tkinter + docutils ]; + # 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" - - wrapProgram $out/bin/nvpy --set TK_LIBRARY "${tk}/lib/${tk.libPrefix}" ''; meta = with pkgs.lib; { |