summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2015-07-29 15:14:55 +0000
committerLuca Bruno <lucabru@src.gnome.org>2015-07-29 15:32:44 +0000
commit4ce9e121422f6a5564918be61b6ce0fd13e736ae (patch)
treec56ba98c9cc21c64f1d0b9c23ce47d92e3a9b0cb /pkgs
parent21579ef5d0f2341c9a6f9eab4d3f1f1a205445e7 (diff)
downloadnixlib-4ce9e121422f6a5564918be61b6ce0fd13e736ae.tar
nixlib-4ce9e121422f6a5564918be61b6ce0fd13e736ae.tar.gz
nixlib-4ce9e121422f6a5564918be61b6ce0fd13e736ae.tar.bz2
nixlib-4ce9e121422f6a5564918be61b6ce0fd13e736ae.tar.lz
nixlib-4ce9e121422f6a5564918be61b6ce0fd13e736ae.tar.xz
nixlib-4ce9e121422f6a5564918be61b6ce0fd13e736ae.tar.zst
nixlib-4ce9e121422f6a5564918be61b6ce0fd13e736ae.zip
quadrapassel: init at 3.16.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/desktops/gnome-3/3.16/default.nix6
-rw-r--r--pkgs/desktops/gnome-3/3.16/games/quadrapassel/default.nix26
2 files changed, 31 insertions, 1 deletions
diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix
index ee56b6211c8f..98219d88c5fb 100644
--- a/pkgs/desktops/gnome-3/3.16/default.nix
+++ b/pkgs/desktops/gnome-3/3.16/default.nix
@@ -33,7 +33,9 @@ let
     nautilus-sendto dconf-editor vinagre
   ];
 
-  gamesPackages = with gnome3; [ swell-foop lightsoff iagno ];
+  gamesPackages = with gnome3; [ swell-foop lightsoff iagno
+    quadrapassel
+  ];
 
   inherit (pkgs) glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra;
   inherit (pkgs.gnome2) ORBit2;
@@ -291,6 +293,8 @@ let
 
   swell-foop = callPackage ./games/swell-foop { };
 
+  quadrapassel = callPackage ./games/quadrapassel { };
+
 #### Misc -- other packages on http://ftp.gnome.org/pub/GNOME/sources/
 
   california = callPackage ./misc/california { };
diff --git a/pkgs/desktops/gnome-3/3.16/games/quadrapassel/default.nix b/pkgs/desktops/gnome-3/3.16/games/quadrapassel/default.nix
new file mode 100644
index 000000000000..ba3de4ff9ae3
--- /dev/null
+++ b/pkgs/desktops/gnome-3/3.16/games/quadrapassel/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk_pixbuf
+, librsvg, libcanberra_gtk3
+, intltool, itstool, libxml2, clutter, clutter_gtk, wrapGAppsHook }:
+
+stdenv.mkDerivation rec {
+  name = "quadrapassel-${gnome3.version}.1";
+
+  src = fetchurl {
+    url = "mirror://gnome/sources/quadrapassel/${gnome3.version}/${name}.tar.xz";
+    sha256 = "17c6ddjgmakj615ahnrmrzayjxc2ylr8dddfzi9py875q5vk7grx";
+  };
+
+  buildInputs = [ pkgconfig gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg
+                  libcanberra_gtk3 itstool intltool clutter
+                  libxml2 clutter_gtk wrapGAppsHook ];
+
+  enableParallelBuilding = true;
+
+  meta = with stdenv.lib; {
+    homepage = https://wiki.gnome.org/Apps/Quadrapassel;
+    description = "Classic falling-block game, Tetris";
+    maintainers = with maintainers; [ lethalman ];
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+  };
+}