Files
nixpkgs/pkgs/by-name/fi/five-or-more/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

67 lines
1.2 KiB
Nix

{
stdenv,
lib,
fetchurl,
meson,
ninja,
pkg-config,
gnome,
gtk3,
wrapGAppsHook3,
librsvg,
libgnome-games-support,
gettext,
itstool,
libxml2,
python3,
vala,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "five-or-more";
version = "48.1";
src = fetchurl {
url = "mirror://gnome/sources/five-or-more/${lib.versions.major finalAttrs.version}/five-or-more-${finalAttrs.version}.tar.xz";
hash = "sha256-2UHOLjfqZsDYDx6BeX+8u+To72WnkLPMXla58QtepaM=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
itstool
libxml2
python3
wrapGAppsHook3
vala
];
buildInputs = [
gtk3
librsvg
libgnome-games-support
];
postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py
'';
passthru = {
updateScript = gnome.updateScript {
packageName = "five-or-more";
};
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/five-or-more";
description = "Remove colored balls from the board by forming lines";
mainProgram = "five-or-more";
teams = [ teams.gnome ];
license = licenses.gpl2;
platforms = platforms.unix;
};
})