2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, intltool, itstool, gtk3
|
2018-02-25 02:23:58 +00:00
|
|
|
, wrapGAppsHook, gconf, librsvg, libxml2, desktop-file-utils
|
|
|
|
, 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-03-13 01:03:18 +00:00
|
|
|
version = "3.22.5";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/aisleriot/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-13 01:03:18 +00:00
|
|
|
sha256 = "0rl39psr5xi584310pyrgw36ini4wn7yr2m1q5118w3a3v1dkhzh";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "aisleriot"; attrPath = "gnome3.aisleriot"; };
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
configureFlags = [ "--with-card-theme-formats=svg" ];
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ intltool itstool gtk3 wrapGAppsHook gconf
|
2018-02-25 02:23:58 +00:00
|
|
|
librsvg libxml2 desktop-file-utils guile_2_0 libcanberra-gtk3 ];
|
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;
|
|
|
|
};
|
|
|
|
}
|