2020-08-20 17:08:02 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, pkg-config
|
|
|
|
, gnome3
|
|
|
|
, itstool
|
|
|
|
, gtk3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, meson
|
|
|
|
, librsvg
|
|
|
|
, libxml2
|
|
|
|
, desktop-file-utils
|
|
|
|
, pysolfc
|
|
|
|
, guile
|
|
|
|
, libcanberra-gtk3
|
|
|
|
, ninja
|
|
|
|
, appstream-glib
|
|
|
|
, yelp-tools
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "aisleriot";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "3.22.11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "GNOME";
|
|
|
|
repo = pname;
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "1asm0y6485xqsysdg586y3hzz8bhxqwnc82k6vhfnxpxz7l62qa1";
|
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
|
|
|
|
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"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.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;
|
|
|
|
};
|
|
|
|
}
|