about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJascha Geerds <jg@ekby.de>2015-08-13 12:54:18 +0200
committerJascha Geerds <jg@ekby.de>2015-08-13 12:54:48 +0200
commit9a6dd2b7605762921fb1b5ddea34f1345d1ff426 (patch)
tree6b7c2801adf05d4fad0443520b0475a5dc7ac3e2 /pkgs
parentab4d1e3bb31c7c1f275d008fce5d0beb25d0b5e4 (diff)
gnome-klotski: init at 3.16.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/desktops/gnome-3/3.16/default.nix4
-rw-r--r--pkgs/desktops/gnome-3/3.16/games/gnome-klotski/default.nix24
2 files changed, 27 insertions, 1 deletions
diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix
index b99bdd6ba9275..5896232a78861 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
+    four-in-a-row gnome-chess gnome-klotski
   ];
 
   inherit (pkgs) glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra;
@@ -305,6 +305,8 @@ let
 
   gnome-chess = callPackage ./games/gnome-chess { };
 
+  gnome-klotski = callPackage ./games/gnome-klotski { };
+
   gnome-sudoku = callPackage ./games/gnome-sudoku { };
 
   iagno = callPackage ./games/iagno { };
diff --git a/pkgs/desktops/gnome-3/3.16/games/gnome-klotski/default.nix b/pkgs/desktops/gnome-3/3.16/games/gnome-klotski/default.nix
new file mode 100644
index 0000000000000..6afcc63e97f33
--- /dev/null
+++ b/pkgs/desktops/gnome-3/3.16/games/gnome-klotski/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
+, librsvg, libxml2, intltool, itstool, hicolor_icon_theme }:
+
+stdenv.mkDerivation rec {
+  name = "gnome-klotski-${gnome3.version}.1";
+
+  src = fetchurl {
+    url = "mirror://gnome/sources/gnome-klotski/${gnome3.version}/${name}.tar.xz";
+    sha256 = "0a64935c7pp51jhaf29q9zlx3lamj7zrhyff7clvv0w8v1w6gpax";
+  };
+
+  buildInputs = [
+    pkgconfig gtk3 wrapGAppsHook intltool itstool librsvg libxml2
+    hicolor_icon_theme
+  ];
+
+  meta = with stdenv.lib; {
+    homepage = https://wiki.gnome.org/Apps/Klotski;
+    description = "Slide blocks to solve the puzzle";
+    maintainers = gnome3.maintainers;
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+  };
+}