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