Merge pull request #37639 from Twey/plover-4.0.0.dev6

Plover 4.0.0.dev6
This commit is contained in:
Matthew Justin Bauer 2018-05-02 12:49:02 -05:00 committed by GitHub
commit bead42df5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 23 deletions

View file

@ -1,26 +1,47 @@
{ stdenv, fetchurl, python27Packages, wmctrl }:
{ stdenv, fetchurl, python27Packages, python36Packages, wmctrl }:
python27Packages.buildPythonPackage rec {
name = "plover-${version}";
version = "3.1.0";
{
stable = 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;
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 = "1hdg5491phx6svrxxsxp8v6n4b25y7y4wxw7x3bxlbyhaskgj53r";
};
buildInputs = [ pytest mock ];
propagatedBuildInputs = [
six setuptools pyserial appdirs hidapi wxPython xlib wmctrl
];
};
src = fetchurl {
url = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz";
sha256 = "1zdlgyjp93sfvk6by7rsh9hj4ijzplglrxpcpkcir6c3nq2bixl4";
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 ];
};
# 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 ];
}

View file

@ -6,7 +6,7 @@
let
pname = "PyQt";
version = "5.10";
version = "5.10.1";
inherit (pythonPackages) buildPythonPackage python dbus-python sip;
@ -25,7 +25,7 @@ in buildPythonPackage {
src = fetchurl {
url = "mirror://sourceforge/pyqt/PyQt5/PyQt-${version}/PyQt5_gpl-${version}.tar.gz";
sha256 = "0l2zy6b7bfjxmg4bb8yikg6i8iy2xdwmvk7knfmrzfpqbmkycbrl";
sha256 = "1vz9c4v0k8azk2b08swwybrshzw32x8djjpq13mf9v15x1qyjclr";
};
outputs = [ "out" "dev" ];

View file

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