diff options
author | Artturi <Artturin@artturin.com> | 2023-11-07 02:37:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-07 02:37:06 +0200 |
commit | 51438bb469d5b3543554f0537b66703f3e3cd52c (patch) | |
tree | 84e16c45405790c4bee2d979d69a4dcfb0b578fb /pkgs/applications/office | |
parent | 550bd7a33b1fd7104586fb275bb9201edb5a8ec5 (diff) | |
parent | b19deb31c377b9b6e67296bfdf946a439f4019ff (diff) | |
download | nixpkgs-51438bb469d5b3543554f0537b66703f3e3cd52c.tar nixpkgs-51438bb469d5b3543554f0537b66703f3e3cd52c.tar.gz nixpkgs-51438bb469d5b3543554f0537b66703f3e3cd52c.tar.bz2 nixpkgs-51438bb469d5b3543554f0537b66703f3e3cd52c.tar.lz nixpkgs-51438bb469d5b3543554f0537b66703f3e3cd52c.tar.xz nixpkgs-51438bb469d5b3543554f0537b66703f3e3cd52c.tar.zst nixpkgs-51438bb469d5b3543554f0537b66703f3e3cd52c.zip |
Merge pull request #265439 from ProminentRetail/autokey
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/autokey/default.nix | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/pkgs/applications/office/autokey/default.nix b/pkgs/applications/office/autokey/default.nix index c490be23811..af8ceeb4b7b 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 |