From 1ff4589fd304c3a7a2e9fb2ef6816342f7c44c47 Mon Sep 17 00:00:00 2001 From: Jascha Geerds Date: Wed, 12 Aug 2015 23:49:25 +0200 Subject: [PATCH] gnome3.aisleriot: init at 3.16.2 --- pkgs/desktops/gnome-3/3.16/default.nix | 4 ++- .../gnome-3/3.16/games/aisleriot/default.nix | 25 +++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 pkgs/desktops/gnome-3/3.16/games/aisleriot/default.nix diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix index f2c2fa0b1f07..8ec4c87b82d1 100644 --- a/pkgs/desktops/gnome-3/3.16/default.nix +++ b/pkgs/desktops/gnome-3/3.16/default.nix @@ -34,7 +34,7 @@ let ]; gamesPackages = with gnome3; [ swell-foop lightsoff iagno - tali quadrapassel gnome-sudoku + tali quadrapassel gnome-sudoku aisleriot ]; inherit (pkgs) glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra; @@ -296,6 +296,8 @@ let #### Games + aisleriot = callPackage ./games/aisleriot { }; + gnome-sudoku = callPackage ./games/gnome-sudoku { }; iagno = callPackage ./games/iagno { }; diff --git a/pkgs/desktops/gnome-3/3.16/games/aisleriot/default.nix b/pkgs/desktops/gnome-3/3.16/games/aisleriot/default.nix new file mode 100644 index 000000000000..94f4e5e4d04b --- /dev/null +++ b/pkgs/desktops/gnome-3/3.16/games/aisleriot/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, pkgconfig, gnome3, intltool, itstool, gtk3 +, wrapGAppsHook, gconf, librsvg, libxml2, desktop_file_utils +, guile, libcanberra_gtk3 }: + +stdenv.mkDerivation rec { + name = "aisleriot-${gnome3.version}.2"; + + src = fetchurl { + url = "mirror://gnome/sources/aisleriot/${gnome3.version}/${name}.tar.xz"; + sha256 = "0rncdg21ys7ik971yw75qbawq89mikbh4dq5mg2msmrl6xsgv0zl"; + }; + + configureFlags = [ "--with-card-theme-formats=svg" ]; + + buildInputs = [ pkgconfig intltool itstool gtk3 wrapGAppsHook gconf + librsvg libxml2 desktop_file_utils guile 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; + }; +}