diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-11-09 12:05:02 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-11-24 22:28:02 +0100 |
commit | 7dd7b9e2188d2ff906a2346ed8abdb869057bdb7 (patch) | |
tree | 2fda7bbfda392477a3ecf84685050f6044e485af /pkgs/tools/X11/arandr | |
parent | 4443198adfb7a072024bcb5af22012824890f5b1 (diff) |
arandr: use python2
Diffstat (limited to 'pkgs/tools/X11/arandr')
-rw-r--r-- | pkgs/tools/X11/arandr/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/X11/arandr/default.nix b/pkgs/tools/X11/arandr/default.nix index f86e9b60e04a..8bbe1b6a52b6 100644 --- a/pkgs/tools/X11/arandr/default.nix +++ b/pkgs/tools/X11/arandr/default.nix @@ -1,6 +1,8 @@ -{ stdenv, fetchurl, python, xrandr, pythonPackages }: +{ stdenv, fetchurl, xrandr, python2Packages }: -pythonPackages.buildPythonApplication rec { +let + inherit (python2Packages) buildPythonApplication docutils pygtk; +in buildPythonApplication rec { name = "arandr-0.1.9"; src = fetchurl { @@ -15,8 +17,8 @@ pythonPackages.buildPythonApplication rec { # no tests doCheck = false; - buildInputs = [ pythonPackages.docutils ]; - propagatedBuildInputs = [ xrandr pythonPackages.pygtk ]; + buildInputs = [ docutils ]; + propagatedBuildInputs = [ xrandr pygtk ]; meta = { homepage = http://christian.amsuess.com/tools/arandr/; |