emote: fix g-i Keybinder not being found, cleanup dependencies, add me as maintainer

This fixes:
ValueError: Namespace Keybinder not available
This commit is contained in:
Sandro Jäckel 2022-08-03 00:15:44 +02:00
parent 6be26ecd01
commit e3aaf8ae0b
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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 { python3Packages.buildPythonApplication rec {
pname = "emote"; pname = "emote";
@ -23,18 +23,19 @@ python3Packages.buildPythonApplication rec {
nativeBuildInputs = [ nativeBuildInputs = [
wrapGAppsHook wrapGAppsHook
gobject-introspection gobject-introspection
];
buildInputs = [
atk
gdk-pixbuf
gtk3
keybinder3 keybinder3
pango pango
gdk-pixbuf
atk
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
python3Packages.manimpango python3Packages.manimpango
python3Packages.pygobject3 python3Packages.pygobject3
gtk3
xdotool
librsvg
]; ];
postInstall = '' postInstall = ''
@ -45,16 +46,19 @@ python3Packages.buildPythonApplication rec {
dontWrapGApps = true; dontWrapGApps = true;
preFixup = '' preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}") makeWrapperArgs+=(
"''${gappsWrapperArgs[@]}"
--prefix PATH : ${lib.makeBinPath [ xdotool ]}
)
''; '';
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {
description = "A modern emoji picker for Linux"; description = "Modern emoji picker for Linux";
homepage = "https://github.com/tom-james-watson/emote"; homepage = "https://github.com/tom-james-watson/emote";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ emilytrau ]; maintainers = with maintainers; [ emilytrau SuperSandro2000 ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }