diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-08-03 00:15:44 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-08-03 00:15:44 +0200 |
commit | e3aaf8ae0b76398abb6f6b55c3b7369e26ea9d4c (patch) | |
tree | 376b72389036ee9bde936a0f642352e21838cf82 /pkgs/tools/inputmethods/emote | |
parent | 6be26ecd0154fba0861dd4882201a0e614a20692 (diff) |
emote: fix g-i Keybinder not being found, cleanup dependencies, add me as maintainer
This fixes: ValueError: Namespace Keybinder not available
Diffstat (limited to 'pkgs/tools/inputmethods/emote')
-rw-r--r-- | pkgs/tools/inputmethods/emote/default.nix | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/pkgs/tools/inputmethods/emote/default.nix b/pkgs/tools/inputmethods/emote/default.nix index b51c058bd0588..21d50d76d4cd1 100644 --- a/pkgs/tools/inputmethods/emote/default.nix +++ b/pkgs/tools/inputmethods/emote/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, python3Packages, wrapGAppsHook, gobject-introspection, gtk3, keybinder3, xdotool, pango, gdk-pixbuf, atk, librsvg }: +{ lib, fetchFromGitHub, python3Packages, wrapGAppsHook, gobject-introspection, gtk3, keybinder3, xdotool, pango, gdk-pixbuf, atk }: python3Packages.buildPythonApplication rec { pname = "emote"; @@ -23,18 +23,19 @@ python3Packages.buildPythonApplication rec { nativeBuildInputs = [ wrapGAppsHook gobject-introspection + ]; + + buildInputs = [ + atk + gdk-pixbuf + gtk3 keybinder3 pango - gdk-pixbuf - atk ]; propagatedBuildInputs = [ python3Packages.manimpango python3Packages.pygobject3 - gtk3 - xdotool - librsvg ]; postInstall = '' @@ -45,16 +46,19 @@ python3Packages.buildPythonApplication rec { dontWrapGApps = true; preFixup = '' - makeWrapperArgs+=("''${gappsWrapperArgs[@]}") + makeWrapperArgs+=( + "''${gappsWrapperArgs[@]}" + --prefix PATH : ${lib.makeBinPath [ xdotool ]} + ) ''; doCheck = false; meta = with lib; { - description = "A modern emoji picker for Linux"; + description = "Modern emoji picker for Linux"; homepage = "https://github.com/tom-james-watson/emote"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ emilytrau ]; + maintainers = with maintainers; [ emilytrau SuperSandro2000 ]; platforms = platforms.linux; }; } |