3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
75 lines
1.3 KiB
Nix
75 lines
1.3 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitLab
|
|
, nix-update-script
|
|
, pkg-config
|
|
, itstool
|
|
, gtk3
|
|
, wrapGAppsHook
|
|
, meson
|
|
, librsvg
|
|
, libxml2
|
|
, desktop-file-utils
|
|
, guile
|
|
, libcanberra-gtk3
|
|
, ninja
|
|
, appstream-glib
|
|
, yelp-tools
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "aisleriot";
|
|
version = "3.22.23";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "GNOME";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-s7z1bR2ZG3YxJcqNrhH+O5PfGeFoPWeWSI26VCCe33Y=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
wrapGAppsHook
|
|
meson
|
|
ninja
|
|
appstream-glib
|
|
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 = nix-update-script {
|
|
attrPath = "gnome.${pname}";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://wiki.gnome.org/Apps/Aisleriot";
|
|
description = "A collection of patience games written in guile scheme";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|