diff --git a/pkgs/applications/office/autokey/default.nix b/pkgs/applications/office/autokey/default.nix index c490be238112..af8ceeb4b7be 100644 --- a/pkgs/applications/office/autokey/default.nix +++ b/pkgs/applications/office/autokey/default.nix @@ -6,17 +6,19 @@ , gtksourceview3 , libappindicator-gtk3 , libnotify +, gnome +, wmctrl }: python3Packages.buildPythonApplication rec { pname = "autokey"; - version = "0.95.10"; + version = "0.96.0"; src = fetchFromGitHub { owner = "autokey"; repo = "autokey"; rev = "v${version}"; - sha256 = "0f0cqfnb49wwdy7zl2f2ypcnd5pc8r8n7z7ssxkq20d4xfxlgamr"; + hash = "sha256-d1WJLqkdC7QgzuYdnxYhajD3DtCpgceWCAxGrk0KKew="; }; # Tests appear to be broken with import errors within the project structure @@ -35,8 +37,20 @@ python3Packages.buildPythonApplication rec { pyinotify xlib pygobject3 + packaging ]; + runtimeDeps = [ + gnome.zenity + wmctrl + ]; + + dontWrapGApps = true; + + preFixup = '' + makeWrapperArgs+=(''${gappsWrapperArgs[@]} --prefix PATH : ${ lib.makeBinPath runtimeDeps }) + ''; + postInstall = '' # remove Qt version which we currently do not support rm $out/bin/autokey-qt $out/share/applications/autokey-qt.desktop