plover: 3.1.0 -> 3.1.1

This commit is contained in:
James Kay 2018-03-22 16:31:06 +00:00
parent caec3b9e09
commit fc7ed300d1
No known key found for this signature in database
GPG key ID: 76BE7F17BF11AD15

View file

@ -1,26 +1,22 @@
{ stdenv, fetchurl, python27Packages, wmctrl }: { stdenv, fetchurl, python27Packages, wmctrl }:
python27Packages.buildPythonPackage rec { with python27Packages; buildPythonPackage rec {
name = "plover-${version}"; name = "plover-${version}";
version = "3.1.0"; version = "3.1.1";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "OpenSteno Plover stenography software"; description = "OpenSteno Plover stenography software";
maintainers = with maintainers; [ twey kovirobi ]; maintainers = with maintainers; [ twey kovirobi ];
license = licenses.gpl2; license = licenses.gpl2;
}; };
src = fetchurl { src = fetchurl {
url = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz"; url = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz";
sha256 = "1zdlgyjp93sfvk6by7rsh9hj4ijzplglrxpcpkcir6c3nq2bixl4"; sha256 = "1hdg5491phx6svrxxsxp8v6n4b25y7y4wxw7x3bxlbyhaskgj53r";
}; };
# This is a fix for https://github.com/pypa/pip/issues/3624 causing regression https://github.com/pypa/pip/issues/3781 buildInputs = [ pytest mock ];
postPatch = '' propagatedBuildInputs = [
substituteInPlace setup.py --replace " in sys_platform" " == sys_platform" six setuptools pyserial appdirs hidapi wxPython xlib wmctrl
''; ];
};
buildInputs = with python27Packages; [ pytest mock ];
propagatedBuildInputs = with python27Packages; [ six setuptools pyserial appdirs hidapi
wxPython xlib wmctrl ];
}