From 0eb925465d00a99c196796d314f7497865048006 Mon Sep 17 00:00:00 2001 From: Jascha Geerds Date: Thu, 13 Aug 2015 15:09:41 +0200 Subject: [PATCH] gnome3.hitori: init at 3.16.1 --- pkgs/desktops/gnome-3/3.16/default.nix | 3 +++ .../gnome-3/3.16/games/hitori/default.nix | 24 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/desktops/gnome-3/3.16/games/hitori/default.nix diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix index 0442438354ef..44034449fb04 100644 --- a/pkgs/desktops/gnome-3/3.16/default.nix +++ b/pkgs/desktops/gnome-3/3.16/default.nix @@ -37,6 +37,7 @@ let tali quadrapassel gnome-sudoku aisleriot five-or-more four-in-a-row gnome-chess gnome-klotski gnome-mahjongg gnome-mines gnome-nibbles gnome-robots gnome-tetravex + hitori ]; inherit (pkgs) glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra; @@ -320,6 +321,8 @@ let gnome-tetravex = callPackage ./games/gnome-tetravex { }; + hitori = callPackage ./games/hitori { }; + iagno = callPackage ./games/iagno { }; lightsoff = callPackage ./games/lightsoff { }; diff --git a/pkgs/desktops/gnome-3/3.16/games/hitori/default.nix b/pkgs/desktops/gnome-3/3.16/games/hitori/default.nix new file mode 100644 index 000000000000..d409ac1b3c32 --- /dev/null +++ b/pkgs/desktops/gnome-3/3.16/games/hitori/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook +, libxml2, intltool, itstool, hicolor_icon_theme }: + +stdenv.mkDerivation rec { + name = "hitori-${gnome3.version}.1"; + + src = fetchurl { + url = "mirror://gnome/sources/hitori/${gnome3.version}/${name}.tar.xz"; + sha256 = "07pm3xl05jgb8x151k1j2ap57dmfvk2nkz9dmqnn5iywfigsysd1"; + }; + + buildInputs = [ + pkgconfig gtk3 wrapGAppsHook intltool itstool libxml2 + hicolor_icon_theme + ]; + + meta = with stdenv.lib; { + homepage = https://wiki.gnome.org/Apps/Hitori; + description = "GTK+ application to generate and let you play games of Hitori"; + maintainers = gnome3.maintainers; + license = licenses.gpl2; + platforms = platforms.linux; + }; +}