From e9d2426d9b4342c5d9dd0309af9b961fbd97e6df Mon Sep 17 00:00:00 2001 From: Jascha Geerds Date: Thu, 13 Aug 2015 13:21:50 +0200 Subject: [PATCH] gnome-mahjongg: init at 3.16.1 --- pkgs/desktops/gnome-3/3.16/default.nix | 4 +++- .../3.16/games/gnome-mahjongg/default.nix | 24 +++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 pkgs/desktops/gnome-3/3.16/games/gnome-mahjongg/default.nix diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix index 5896232a7886..7d2c73052d27 100644 --- a/pkgs/desktops/gnome-3/3.16/default.nix +++ b/pkgs/desktops/gnome-3/3.16/default.nix @@ -35,7 +35,7 @@ let gamesPackages = with gnome3; [ swell-foop lightsoff iagno tali quadrapassel gnome-sudoku aisleriot five-or-more - four-in-a-row gnome-chess gnome-klotski + four-in-a-row gnome-chess gnome-klotski gnome-mahjongg ]; inherit (pkgs) glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra; @@ -307,6 +307,8 @@ let gnome-klotski = callPackage ./games/gnome-klotski { }; + gnome-mahjongg = callPackage ./games/gnome-mahjongg { }; + gnome-sudoku = callPackage ./games/gnome-sudoku { }; iagno = callPackage ./games/iagno { }; diff --git a/pkgs/desktops/gnome-3/3.16/games/gnome-mahjongg/default.nix b/pkgs/desktops/gnome-3/3.16/games/gnome-mahjongg/default.nix new file mode 100644 index 000000000000..5b5bdae87c0f --- /dev/null +++ b/pkgs/desktops/gnome-3/3.16/games/gnome-mahjongg/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook +, librsvg, intltool, itstool, libxml2, hicolor_icon_theme }: + +stdenv.mkDerivation rec { + name = "gnome-mahjongg-${gnome3.version}.1"; + + src = fetchurl { + url = "mirror://gnome/sources/gnome-mahjongg/${gnome3.version}/${name}.tar.xz"; + sha256 = "1jbd3gbmxqf36as9xsiarad575l4rpcfv6w1pn192r02aj3hgipj"; + }; + + buildInputs = [ + pkgconfig gtk3 wrapGAppsHook librsvg intltool itstool libxml2 + hicolor_icon_theme + ]; + + meta = with stdenv.lib; { + homepage = https://wiki.gnome.org/Apps/Mahjongg; + description = "Disassemble a pile of tiles by removing matching pairs"; + maintainers = gnome3.maintainers; + license = licenses.gpl2; + platforms = platforms.linux; + }; +}