summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/3.16
diff options
context:
space:
mode:
authorJascha Geerds <jg@ekby.de>2015-08-13 12:37:28 +0200
committerJascha Geerds <jg@ekby.de>2015-08-13 12:38:24 +0200
commit106837a449aa031116cf6f92c549574bc970d17b (patch)
treed5ea1afade1c65ee0250cefd7fd728aa3e993799 /pkgs/desktops/gnome-3/3.16
parent6440e9bbfd22800cc5f967445fce9cc86e2ca0cd (diff)
downloadnixlib-106837a449aa031116cf6f92c549574bc970d17b.tar
nixlib-106837a449aa031116cf6f92c549574bc970d17b.tar.gz
nixlib-106837a449aa031116cf6f92c549574bc970d17b.tar.bz2
nixlib-106837a449aa031116cf6f92c549574bc970d17b.tar.lz
nixlib-106837a449aa031116cf6f92c549574bc970d17b.tar.xz
nixlib-106837a449aa031116cf6f92c549574bc970d17b.tar.zst
nixlib-106837a449aa031116cf6f92c549574bc970d17b.zip
gnome3.four-in-a-row: init at 3.16.2
Diffstat (limited to 'pkgs/desktops/gnome-3/3.16')
-rw-r--r--pkgs/desktops/gnome-3/3.16/default.nix3
-rw-r--r--pkgs/desktops/gnome-3/3.16/games/four-in-a-row/default.nix25
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix
index 58cf642c69de..b6d26a887134 100644
--- a/pkgs/desktops/gnome-3/3.16/default.nix
+++ b/pkgs/desktops/gnome-3/3.16/default.nix
@@ -35,6 +35,7 @@ let
 
   gamesPackages = with gnome3; [ swell-foop lightsoff iagno
     tali quadrapassel gnome-sudoku aisleriot five-or-more
+    four-in-a-row
   ];
 
   inherit (pkgs) glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra;
@@ -300,6 +301,8 @@ let
 
   five-or-more = callPackage ./games/five-or-more { };
 
+  four-in-a-row = callPackage ./games/four-in-a-row { };
+
   gnome-sudoku = callPackage ./games/gnome-sudoku { };
 
   iagno = callPackage ./games/iagno { };
diff --git a/pkgs/desktops/gnome-3/3.16/games/four-in-a-row/default.nix b/pkgs/desktops/gnome-3/3.16/games/four-in-a-row/default.nix
new file mode 100644
index 000000000000..bf15f9f2bbbe
--- /dev/null
+++ b/pkgs/desktops/gnome-3/3.16/games/four-in-a-row/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
+, intltool, itstool, libcanberra_gtk3, librsvg, libxml2
+, hicolor_icon_theme }:
+
+stdenv.mkDerivation rec {
+  name = "four-in-a-row-${gnome3.version}.2";
+
+  src = fetchurl {
+    url = "mirror://gnome/sources/four-in-a-row/${gnome3.version}/${name}.tar.xz";
+    sha256 = "1bm5chsvpw0jg1xh9g2n1w5i0fvxs50aqkgmrla9cpawsvzfshmz";
+  };
+
+  buildInputs = [
+    pkgconfig gtk3 wrapGAppsHook intltool itstool libcanberra_gtk3 librsvg
+    libxml2 hicolor_icon_theme
+  ];
+
+  meta = with stdenv.lib; {
+    homepage = https://wiki.gnome.org/Apps/Four-in-a-row;
+    description = "Make lines of the same color to win";
+    maintainers = gnome3.maintainers;
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+  };
+}