summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorKovacsics Robert (NixOS) <kovirobi@gmail.com>2016-08-27 20:06:40 +0100
committerKovacsics Robert (NixOS) <kovirobi@gmail.com>2016-08-31 23:59:53 +0200
commit657724d576618f2a682036f133f98a3613e9f10d (patch)
tree0e61ceaed424c6360b95e3a6b25e1b1ccb009a27 /pkgs
parent6b20d5b75efb3e4c95f7dabbfe0e607c1205f9be (diff)
downloadnixlib-657724d576618f2a682036f133f98a3613e9f10d.tar
nixlib-657724d576618f2a682036f133f98a3613e9f10d.tar.gz
nixlib-657724d576618f2a682036f133f98a3613e9f10d.tar.bz2
nixlib-657724d576618f2a682036f133f98a3613e9f10d.tar.lz
nixlib-657724d576618f2a682036f133f98a3613e9f10d.tar.xz
nixlib-657724d576618f2a682036f133f98a3613e9f10d.tar.zst
nixlib-657724d576618f2a682036f133f98a3613e9f10d.zip
python-plover: fix broken install
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/python-packages.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 027339302c22..5771ef831329 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -13957,7 +13957,6 @@ in modules // {
       description = "OpenSteno Plover stenography software";
       maintainers = with maintainers; [ twey kovirobi ];
       license = licenses.gpl2;
-      broken = true;
     };
 
     src = pkgs.fetchurl {
@@ -13965,8 +13964,14 @@ in modules // {
       sha256 = "1jja37nhiypdx1z6cazp8ffsf0z3yqmpdbprpdzf668lcb422rl0";
     };
 
-    buildInputs = with self; [ pytest ];
-    propagatedBuildInputs = with self; [ wxPython pyserial hidapi xlib appdirs pkgs.wmctrl mock ];
+    # This is a fix for https://github.com/pypa/pip/issues/3624 causing regression https://github.com/pypa/pip/issues/3781
+    postPatch = ''
+     substituteInPlace setup.py --replace " in sys_platform" " == sys_platform"
+    '';
+
+    buildInputs = with self; [ pytest mock ];
+    propagatedBuildInputs = with self; [ six setuptools pyserial appdirs hidapi
+                                         wxPython xlib pkgs.wmctrl ];
   };
 
   pygal = buildPythonPackage rec {