From 99f32bad76f6ebbfaa85916a0548329f1b20cc01 Mon Sep 17 00:00:00 2001 From: Jascha Geerds Date: Thu, 13 Aug 2015 13:31:11 +0200 Subject: [PATCH] gnome-mines: init at 3.16.1 --- pkgs/desktops/gnome-3/3.16/default.nix | 3 +++ .../3.16/games/gnome-mines/default.nix | 24 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/desktops/gnome-3/3.16/games/gnome-mines/default.nix diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix index 7d2c73052d2..00a26e33b05 100644 --- a/pkgs/desktops/gnome-3/3.16/default.nix +++ b/pkgs/desktops/gnome-3/3.16/default.nix @@ -36,6 +36,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 gnome-mahjongg + gnome-mines ]; inherit (pkgs) glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra; @@ -309,6 +310,8 @@ let gnome-mahjongg = callPackage ./games/gnome-mahjongg { }; + gnome-mines = callPackage ./games/gnome-mines { }; + gnome-sudoku = callPackage ./games/gnome-sudoku { }; iagno = callPackage ./games/iagno { }; diff --git a/pkgs/desktops/gnome-3/3.16/games/gnome-mines/default.nix b/pkgs/desktops/gnome-3/3.16/games/gnome-mines/default.nix new file mode 100644 index 00000000000..e9af6c0fe4d --- /dev/null +++ b/pkgs/desktops/gnome-3/3.16/games/gnome-mines/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook +, librsvg, intltool, itstool, libxml2, hicolor_icon_theme }: + +stdenv.mkDerivation rec { + name = "gnome-mines-${gnome3.version}.1"; + + src = fetchurl { + url = "mirror://gnome/sources/gnome-mines/${gnome3.version}/${name}.tar.xz"; + sha256 = "0f0496nhirvpw4zk8bcl24rb2v20cm3gw8d5ybmch42mscmjrb0p"; + }; + + buildInputs = [ + pkgconfig gtk3 wrapGAppsHook librsvg intltool itstool libxml2 + hicolor_icon_theme + ]; + + meta = with stdenv.lib; { + homepage = https://wiki.gnome.org/Apps/Mines; + description = "Clear hidden mines from a minefield"; + maintainers = gnome3.maintainers; + license = licenses.gpl2; + platforms = platforms.linux; + }; +}