about summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/games/aisleriot/default.nix
blob: 77220124fcc1e315cac5dc9e647a583e2807a7ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ stdenv, fetchurl, pkgconfig, gnome3, intltool, itstool, gtk3
, wrapGAppsHook, gconf, librsvg, libxml2, desktop-file-utils
, guile_2_0, libcanberra-gtk3 }:

stdenv.mkDerivation rec {
  name = "aisleriot-${version}";
  version = "3.22.5";

  src = fetchurl {
    url = "mirror://gnome/sources/aisleriot/${gnome3.versionBranch version}/${name}.tar.xz";
    sha256 = "0rl39psr5xi584310pyrgw36ini4wn7yr2m1q5118w3a3v1dkhzh";
  };

  passthru = {
    updateScript = gnome3.updateScript { packageName = "aisleriot"; attrPath = "gnome3.aisleriot"; };
  };

  configureFlags = [ "--with-card-theme-formats=svg" ];

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ intltool itstool gtk3 wrapGAppsHook gconf
                  librsvg libxml2 desktop-file-utils guile_2_0 libcanberra-gtk3 ];

  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;
  };
}