Files
nixpkgs/pkgs/by-name/sm/smile/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

74 lines
1.4 KiB
Nix

{
lib,
python3,
fetchFromGitHub,
desktop-file-utils,
glib,
gobject-introspection,
meson,
ninja,
wrapGAppsHook4,
libadwaita,
xdotool,
wl-clipboard,
}:
python3.pkgs.buildPythonApplication rec {
pname = "smile";
version = "2.10.2";
pyproject = false; # Builds with meson
src = fetchFromGitHub {
owner = "mijorus";
repo = "smile";
tag = version;
hash = "sha256-J+cCYt5ATR5xm/NsjYGkfQmHpTS5LDugj0XCphHanDc=";
};
nativeBuildInputs = [
desktop-file-utils # for update-desktop-database
glib # for glib-compile-resources
gobject-introspection
meson
ninja
wrapGAppsHook4
];
buildInputs = [
libadwaita
];
dependencies = with python3.pkgs; [
dbus-python
manimpango
pygobject3
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=(
"''${gappsWrapperArgs[@]}"
--prefix PATH : ${
lib.makeBinPath [
xdotool
wl-clipboard
]
}
)
'';
meta = {
changelog = "https://smile.mijorus.it/changelog";
description = "Emoji picker for linux, with custom tags support and localization";
downloadPage = "https://github.com/mijorus/smile";
homepage = "https://mijorus.it/projects/smile/";
license = lib.licenses.gpl3Plus;
mainProgram = "smile";
maintainers = with lib.maintainers; [
koppor
aleksana
];
};
}