mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
72 lines
1.3 KiB
Nix
72 lines
1.3 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitLab,
|
|
gitUpdater,
|
|
pkg-config,
|
|
itstool,
|
|
gtk3,
|
|
wrapGAppsHook3,
|
|
meson,
|
|
librsvg,
|
|
libxml2,
|
|
desktop-file-utils,
|
|
guile,
|
|
libcanberra-gtk3,
|
|
ninja,
|
|
yelp-tools,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "aisleriot";
|
|
version = "3.22.33";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "GNOME";
|
|
repo = "aisleriot";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-HylhDBgkAJrrs/r42v3aDNR8mBJaqnJHyY7T3QW1eWg=";
|
|
};
|
|
|
|
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 = gitUpdater { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.gnome.org/GNOME/aisleriot";
|
|
description = "Collection of patience games written in guile scheme";
|
|
mainProgram = "sol";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
})
|