2022-03-30 09:31:56 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2020-08-20 17:08:02 +00:00
|
|
|
, fetchFromGitLab
|
2021-05-20 23:08:51 +00:00
|
|
|
, nix-update-script
|
2020-08-20 17:08:02 +00:00
|
|
|
, pkg-config
|
|
|
|
, itstool
|
|
|
|
, gtk3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, meson
|
|
|
|
, librsvg
|
|
|
|
, libxml2
|
|
|
|
, desktop-file-utils
|
2022-03-30 09:31:56 +00:00
|
|
|
, guile_3_0
|
2020-08-20 17:08:02 +00:00
|
|
|
, libcanberra-gtk3
|
|
|
|
, ninja
|
|
|
|
, appstream-glib
|
|
|
|
, yelp-tools
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "aisleriot";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "3.22.21";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
src = fetchFromGitLab {
|
2020-11-03 02:18:15 +00:00
|
|
|
domain = "gitlab.gnome.org";
|
2020-08-20 17:08:02 +00:00
|
|
|
owner = "GNOME";
|
|
|
|
repo = pname;
|
2020-11-03 02:18:15 +00:00
|
|
|
rev = version;
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-dpzuePxSoJcwUlj314r5G9A8aF1Yz49r+DxNTfA8/Ks=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
wrapGAppsHook
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
appstream-glib
|
|
|
|
pkg-config
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
desktop-file-utils
|
|
|
|
yelp-tools
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
librsvg
|
2022-03-30 09:31:56 +00:00
|
|
|
guile_3_0
|
2020-08-20 17:08:02 +00:00
|
|
|
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"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = nix-update-script {
|
|
|
|
attrPath = "gnome.${pname}";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|