From e3aaf8ae0b76398abb6f6b55c3b7369e26ea9d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 3 Aug 2022 00:15:44 +0200 Subject: [PATCH] emote: fix g-i Keybinder not being found, cleanup dependencies, add me as maintainer This fixes: ValueError: Namespace Keybinder not available --- pkgs/tools/inputmethods/emote/default.nix | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/inputmethods/emote/default.nix b/pkgs/tools/inputmethods/emote/default.nix index b51c058bd058..21d50d76d4cd 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; }; }