about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJascha Geerds <jg@ekby.de>2015-08-13 12:46:36 +0200
committerJascha Geerds <jg@ekby.de>2015-08-13 12:47:12 +0200
commitab4d1e3bb31c7c1f275d008fce5d0beb25d0b5e4 (patch)
tree733ffdb1c832c3fad3e8341654b9423b949ddc04 /pkgs
parent106837a449aa031116cf6f92c549574bc970d17b (diff)
gnome-chess: init at 3.16.2
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-chess/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 b6d26a887134a..b99bdd6ba9275 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
+    four-in-a-row gnome-chess
   ];
 
   inherit (pkgs) glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra;
@@ -303,6 +303,8 @@ let
 
   four-in-a-row = callPackage ./games/four-in-a-row { };
 
+  gnome-chess = callPackage ./games/gnome-chess { };
+
   gnome-sudoku = callPackage ./games/gnome-sudoku { };
 
   iagno = callPackage ./games/iagno { };
diff --git a/pkgs/desktops/gnome-3/3.16/games/gnome-chess/default.nix b/pkgs/desktops/gnome-3/3.16/games/gnome-chess/default.nix
new file mode 100644
index 0000000000000..7161eb5cdaf3e
--- /dev/null
+++ b/pkgs/desktops/gnome-3/3.16/games/gnome-chess/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
+, intltool, itstool, librsvg, libxml2, hicolor_icon_theme }:
+
+stdenv.mkDerivation rec {
+  name = "gnome-chess-${gnome3.version}.2";
+
+  src = fetchurl {
+    url = "mirror://gnome/sources/gnome-chess/${gnome3.version}/${name}.tar.xz";
+    sha256 = "0j1vvf1myki3bafsqv52q59qk1nhf1636nrb15fpfvm88p3b8wwg";
+  };
+
+  buildInputs = [
+    pkgconfig gtk3 wrapGAppsHook intltool itstool librsvg libxml2
+    hicolor_icon_theme
+  ];
+
+  meta = with stdenv.lib; {
+    homepage = https://wiki.gnome.org/Apps/Chess;
+    description = "Play the classic two-player boardgame of chess";
+    maintainers = gnome3.maintainers;
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+  };
+}