mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 01:18:24 +00:00
Merge pull request #265439 from ProminentRetail/autokey
This commit is contained in:
commit
51438bb469
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user