diff options
author | Kovacsics Robert (NixOS) <kovirobi@gmail.com> | 2016-11-14 20:36:59 +0000 |
---|---|---|
committer | Kovacsics Robert (NixOS) <kovirobi@gmail.com> | 2016-11-14 20:36:59 +0000 |
commit | 5a0665846ed4f3c742b3ff1c7336b0b387f180b7 (patch) | |
tree | 84b7c8a3ebe4ee83d70c5bcd14cc9b9ecb3a7ed4 /pkgs/applications/misc/plover | |
parent | 245adb4052b0d1f42d5de402ed5c923440ee6eea (diff) |
plover: move out of python-packages.nix
Diffstat (limited to 'pkgs/applications/misc/plover')
-rw-r--r-- | pkgs/applications/misc/plover/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/misc/plover/default.nix b/pkgs/applications/misc/plover/default.nix new file mode 100644 index 0000000000000..b8fa38268c385 --- /dev/null +++ b/pkgs/applications/misc/plover/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl, python27Packages, wmctrl }: + +python27Packages.buildPythonPackage rec { + name = "plover-${version}"; + version = "3.1.0"; + + meta = with stdenv.lib; { + description = "OpenSteno Plover stenography software"; + maintainers = with maintainers; [ twey kovirobi ]; + license = licenses.gpl2; + }; + + src = fetchurl { + url = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz"; + sha256 = "1zdlgyjp93sfvk6by7rsh9hj4ijzplglrxpcpkcir6c3nq2bixl4"; + }; + + # 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 ]; +} |