15 python3Packages.buildPythonApplication rec {
18 pyproject = false; # Built with meson
20 src = fetchFromGitHub {
21 owner = "tom-james-watson";
24 hash = "sha256-c5EY1Cc3oD8EG1oTChbl10jJlNeAETQbAFGoA9Lw5PY=";
28 substituteInPlace emote/picker.py \
29 --replace-fail 'os.environ.get("SNAP_VERSION", "dev build")' "'$version'"
30 substituteInPlace emote/config.py \
31 --replace-fail 'is_flatpak = os.environ.get("FLATPAK") is not None' 'is_flatpak = False' \
32 --replace-fail 'os.environ.get("SNAP")' "'$out/share/emote'"
44 # used by gobject-introspection's setup-hook and only detected at runtime
48 dependencies = with python3Packages; [
49 dbus-python.out # don't propagate dev output
51 pygobject3.out # don't propagate dev output
56 rm $out/share/emote/emote/{emote.in,meson.build}
57 rm $out/share/emote/static/{meson.build,com.tomjwatson.Emote.desktop,prepare-launch}
63 "''${gappsWrapperArgs[@]}"
74 description = "Modern emoji picker for Linux";
75 mainProgram = "emote";
76 homepage = "https://github.com/tom-james-watson/emote";
77 license = licenses.gpl3Plus;
78 maintainers = with maintainers; [
83 platforms = platforms.linux;