2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv
|
2020-08-17 08:30:58 -07:00
|
|
|
, fetchFromGitLab
|
2021-05-12 04:40:41 -07:00
|
|
|
, nix-update-script
|
2020-08-17 08:30:58 -07:00
|
|
|
, pkg-config
|
|
|
|
, itstool
|
|
|
|
, gtk3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, meson
|
|
|
|
, librsvg
|
|
|
|
, libxml2
|
|
|
|
, desktop-file-utils
|
|
|
|
, pysolfc
|
|
|
|
, guile
|
|
|
|
, libcanberra-gtk3
|
|
|
|
, ninja
|
|
|
|
, appstream-glib
|
|
|
|
, yelp-tools
|
|
|
|
}:
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-13 13:30:27 -07:00
|
|
|
pname = "aisleriot";
|
2021-05-11 14:25:35 -07:00
|
|
|
version = "3.22.16";
|
2018-02-25 12:07:20 -08:00
|
|
|
|
2020-08-17 08:30:58 -07:00
|
|
|
src = fetchFromGitLab {
|
2020-11-01 14:39:49 -08:00
|
|
|
domain = "gitlab.gnome.org";
|
2020-08-17 08:30:58 -07:00
|
|
|
owner = "GNOME";
|
|
|
|
repo = pname;
|
2020-11-01 14:39:49 -08:00
|
|
|
rev = version;
|
2021-05-11 14:25:35 -07:00
|
|
|
sha256 = "0arjnm5kgnb4pir53hlm94iym80d0srs256sm2hwhwwc5fr1w79i";
|
2018-02-25 12:07:20 -08:00
|
|
|
};
|
|
|
|
|
2020-08-17 08:30:58 -07:00
|
|
|
nativeBuildInputs = [
|
|
|
|
wrapGAppsHook
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
appstream-glib
|
|
|
|
pkg-config
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
desktop-file-utils
|
|
|
|
yelp-tools
|
2018-07-09 15:34:32 -07:00
|
|
|
];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2020-08-17 08:30:58 -07:00
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
librsvg
|
|
|
|
guile
|
|
|
|
libcanberra-gtk3
|
|
|
|
pysolfc
|
|
|
|
];
|
|
|
|
|
|
|
|
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"
|
|
|
|
];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2018-07-09 15:34:32 -07:00
|
|
|
passthru = {
|
2021-05-12 04:40:41 -07:00
|
|
|
updateScript = nix-update-script {
|
2021-05-07 14:18:14 -07:00
|
|
|
attrPath = "gnome.${pname}";
|
2018-07-09 15:34:32 -07:00
|
|
|
};
|
|
|
|
};
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Aisleriot";
|
2016-09-18 12:35:23 -07:00
|
|
|
description = "A collection of patience games written in guile scheme";
|
2020-04-01 05:40:51 -07:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 12:35:23 -07:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|