plover: add 4.0.0.dev6

This commit is contained in:
James Kay 2018-03-22 17:18:32 +00:00
parent fc7ed300d1
commit 51a8848f12
No known key found for this signature in database
GPG Key ID: 76BE7F17BF11AD15
2 changed files with 43 additions and 18 deletions

View File

@ -1,6 +1,7 @@
{ stdenv, fetchurl, python27Packages, wmctrl }: { stdenv, fetchurl, python27Packages, python36Packages, wmctrl }:
with python27Packages; buildPythonPackage rec { {
stable = with python27Packages; buildPythonPackage rec {
name = "plover-${version}"; name = "plover-${version}";
version = "3.1.1"; version = "3.1.1";
@ -20,3 +21,27 @@ with python27Packages; buildPythonPackage rec {
six setuptools pyserial appdirs hidapi wxPython xlib wmctrl six setuptools pyserial appdirs hidapi wxPython xlib wmctrl
]; ];
}; };
dev = with python36Packages; buildPythonPackage rec {
name = "plover-${version}";
version = "4.0.0.dev6";
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 = "067rkpqnjjxwyv9cwh9i925ndba6fvj6q0r56lizy0l26b4jc8rp";
};
# I'm not sure why we don't find PyQt5 here but there's a similar
# sed on many of the platforms Plover builds for
postPatch = "sed -i /PyQt5/d setup.cfg";
buildInputs = [ pytest mock ];
propagatedBuildInputs = [ Babel pyqt5 xlib pyserial appdirs ];
};
}

View File

@ -17085,7 +17085,7 @@ with pkgs;
gtksharp = gtk-sharp-2_0; gtksharp = gtk-sharp-2_0;
}; };
plover = callPackage ../applications/misc/plover { }; plover = recurseIntoAttrs (callPackage ../applications/misc/plover { });
plugin-torture = callPackage ../applications/audio/plugin-torture { }; plugin-torture = callPackage ../applications/audio/plugin-torture { };