summary refs log tree commit diff
path: root/pkgs/applications/misc/plover
diff options
context:
space:
mode:
authorJames Kay <james@hadean.com>2018-03-22 16:31:06 +0000
committerJames Kay <james@hadean.com>2018-03-22 17:16:42 +0000
commitfc7ed300d1aafec35f9ea8437b0e6ef6f7669b3d (patch)
tree241197f8e2c5ff2eeeefc4270a99795742de84c5 /pkgs/applications/misc/plover
parentcaec3b9e091c6eb5f765c417396e9969f51a0da4 (diff)
downloadnixlib-fc7ed300d1aafec35f9ea8437b0e6ef6f7669b3d.tar
nixlib-fc7ed300d1aafec35f9ea8437b0e6ef6f7669b3d.tar.gz
nixlib-fc7ed300d1aafec35f9ea8437b0e6ef6f7669b3d.tar.bz2
nixlib-fc7ed300d1aafec35f9ea8437b0e6ef6f7669b3d.tar.lz
nixlib-fc7ed300d1aafec35f9ea8437b0e6ef6f7669b3d.tar.xz
nixlib-fc7ed300d1aafec35f9ea8437b0e6ef6f7669b3d.tar.zst
nixlib-fc7ed300d1aafec35f9ea8437b0e6ef6f7669b3d.zip
plover: 3.1.0 -> 3.1.1
Diffstat (limited to 'pkgs/applications/misc/plover')
-rw-r--r--pkgs/applications/misc/plover/default.nix26
1 files changed, 11 insertions, 15 deletions
diff --git a/pkgs/applications/misc/plover/default.nix b/pkgs/applications/misc/plover/default.nix
index b8fa38268c38..19230a11426e 100644
--- a/pkgs/applications/misc/plover/default.nix
+++ b/pkgs/applications/misc/plover/default.nix
@@ -1,26 +1,22 @@
 { stdenv, fetchurl, python27Packages, wmctrl }:
 
-python27Packages.buildPythonPackage rec {
-  name = "plover-${version}";
-  version = "3.1.0";
+with python27Packages; buildPythonPackage rec {
+  name    = "plover-${version}";
+  version = "3.1.1";
 
   meta = with stdenv.lib; {
     description = "OpenSteno Plover stenography software";
     maintainers = with maintainers; [ twey kovirobi ];
-    license = licenses.gpl2;
+    license     = licenses.gpl2;
   };
 
   src = fetchurl {
-    url = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz";
-    sha256 = "1zdlgyjp93sfvk6by7rsh9hj4ijzplglrxpcpkcir6c3nq2bixl4";
+    url    = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz";
+    sha256 = "1hdg5491phx6svrxxsxp8v6n4b25y7y4wxw7x3bxlbyhaskgj53r";
   };
 
-  # 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 python27Packages; [ pytest mock ];
-  propagatedBuildInputs = with python27Packages; [ six setuptools pyserial appdirs hidapi
-    wxPython xlib wmctrl ];
-}
+  buildInputs           = [ pytest mock ];
+  propagatedBuildInputs = [
+    six setuptools pyserial appdirs hidapi wxPython xlib wmctrl
+  ];
+};