2016-09-18 21:35:23 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, intltool, itstool, gtk3
|
2018-07-10 00:34:32 +02:00
|
|
|
, wrapGAppsHook, librsvg, libxml2, desktop-file-utils
|
2018-02-25 03:23:58 +01:00
|
|
|
, guile_2_0, libcanberra-gtk3 }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-13 21:30:27 +01:00
|
|
|
pname = "aisleriot";
|
2019-09-10 04:30:32 +02:00
|
|
|
version = "3.22.9";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-03-13 21:30:27 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-09-10 04:30:32 +02:00
|
|
|
sha256 = "0yzdh9cw5cjjgvfh75bihl968czlgfmpmn1z0fdk88sgvpjgzwji";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2018-07-10 00:34:32 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--with-card-theme-formats=svg"
|
|
|
|
"--with-platform=gtk-only" # until they remove GConf
|
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-07-10 00:34:32 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool itstool wrapGAppsHook libxml2 desktop-file-utils ];
|
|
|
|
buildInputs = [ gtk3 librsvg guile_2_0 libcanberra-gtk3 ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-07-10 00:34:32 +02:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
2019-03-13 21:30:27 +01:00
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
2018-07-10 00:34:32 +02:00
|
|
|
};
|
|
|
|
};
|
2016-09-18 21:35:23 +02: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;
|
|
|
|
};
|
|
|
|
}
|