plover.dev: apply the Qt wrapper

Without this, it crashes instantly at startup looking for the
Qt xcb plugin.

Co-authored-by: Kovacsics Robert <rmk35@cam.ac.uk>
This commit is contained in:
edef 2019-10-19 09:44:27 +00:00
parent b954169efc
commit 3b0bc6354a
2 changed files with 9 additions and 3 deletions

View file

@ -1,4 +1,5 @@
{ stdenv, fetchurl, python27Packages, python36Packages, wmctrl }:
{ stdenv, fetchurl, python27Packages, python36Packages, wmctrl,
qtbase, mkDerivationWith }:
{
stable = with python27Packages; buildPythonPackage rec {
@ -23,7 +24,7 @@
];
};
dev = with python36Packages; buildPythonPackage rec {
dev = with python36Packages; mkDerivationWith buildPythonPackage rec {
pname = "plover";
version = "4.0.0.dev8";
@ -44,5 +45,10 @@
checkInputs = [ pytest mock ];
propagatedBuildInputs = [ Babel pyqt5 xlib pyserial appdirs wcwidth setuptools ];
dontWrapQtApps = true;
makeWrapperArgs = [
"\${qtWrapperArgs[@]}"
];
};
}

View file

@ -20285,7 +20285,7 @@ in
plex-media-player = libsForQt59.callPackage ../applications/video/plex-media-player { };
plover = recurseIntoAttrs (callPackage ../applications/misc/plover { });
plover = recurseIntoAttrs (libsForQt5.callPackage ../applications/misc/plover { });
plugin-torture = callPackage ../applications/audio/plugin-torture { };