1 { lib, fetchFromGitHub, python3Packages, wmctrl, qtbase, mkDerivationWith }:
4 stable = throw "plover.stable was removed because it used Python 2. Use plover.dev instead."; # added 2022-06-05
6 dev = with python3Packages; mkDerivationWith buildPythonPackage rec {
8 version = "4.0.0.dev10";
11 broken = stdenv.hostPlatform.isDarwin;
12 description = "OpenSteno Plover stenography software";
13 maintainers = with maintainers; [ twey kovirobi ];
14 license = licenses.gpl2;
17 src = fetchFromGitHub {
18 owner = "openstenoproject";
21 sha256 = "sha256-oJ7+R3ZWhUbNTTAw1AfMg2ur8vW1XEbsa5FgSTam1Ns=";
24 # I'm not sure why we don't find PyQt5 here but there's a similar
25 # sed on many of the platforms Plover builds for
26 postPatch = "sed -i /PyQt5/d setup.cfg";
28 nativeCheckInputs = [ pytest mock ];
29 propagatedBuildInputs = [ babel pyqt5 xlib pyserial appdirs wcwidth setuptools ];
31 dontWrapQtApps = true;
34 makeWrapperArgs+=("''${qtWrapperArgs[@]}")