2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, intltool, itstool, gtk3
|
2018-07-09 23:34:32 +01:00
|
|
|
, wrapGAppsHook, librsvg, libxml2, desktop-file-utils
|
2018-02-25 02:23:58 +00:00
|
|
|
, guile_2_0, libcanberra-gtk3 }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "aisleriot-${version}";
|
2018-09-05 01:42:27 +01:00
|
|
|
version = "3.22.7";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/aisleriot/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-09-05 01:42:27 +01:00
|
|
|
sha256 = "1ysljnrlvzssgbhxcgb28n9k3l0rybxi5lkrm8pg6a4nspaw5mc4";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2018-07-09 23:34:32 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--with-card-theme-formats=svg"
|
|
|
|
"--with-platform=gtk-only" # until they remove GConf
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-07-09 23:34:32 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool itstool wrapGAppsHook libxml2 desktop-file-utils ];
|
|
|
|
buildInputs = [ gtk3 librsvg guile_2_0 libcanberra-gtk3 ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-07-09 23:34:32 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "aisleriot";
|
|
|
|
attrPath = "gnome3.aisleriot";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Aisleriot;
|
|
|
|
description = "A collection of patience games written in guile scheme";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|