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
71 lines
1.3 KiB
Nix
71 lines
1.3 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchurl,
|
|
pkg-config,
|
|
itstool,
|
|
gtk3,
|
|
wrapGAppsHook3,
|
|
meson,
|
|
librsvg,
|
|
libxml2,
|
|
desktop-file-utils,
|
|
guile,
|
|
libcanberra-gtk3,
|
|
ninja,
|
|
yelp-tools,
|
|
gnome,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "aisleriot";
|
|
version = "3.22.35";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/aisleriot/${lib.versions.majorMinor finalAttrs.version}/aisleriot-${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-AeYEzXAJo2wMXxVCSpBORvg2LDBrpfa8cfrIpedGO/A=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
wrapGAppsHook3
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
itstool
|
|
libxml2
|
|
desktop-file-utils
|
|
yelp-tools
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
librsvg
|
|
guile
|
|
libcanberra-gtk3
|
|
];
|
|
|
|
prePatch = ''
|
|
patchShebangs cards/meson_svgz.sh
|
|
patchShebangs data/meson_desktopfile.py
|
|
patchShebangs data/icons/meson_updateiconcache.py
|
|
patchShebangs src/lib/meson_compileschemas.py
|
|
'';
|
|
|
|
mesonFlags = [ "-Dtheme_kde=false" ];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = "aisleriot";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.gnome.org/GNOME/aisleriot";
|
|
description = "Collection of patience games written in guile scheme";
|
|
mainProgram = "sol";
|
|
teams = [ teams.gnome ];
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
})
|