3
0
Fork 0
forked from mirrors/nixpkgs

swell-loop: init at 3.16.1

This commit is contained in:
Luca Bruno 2015-07-22 21:07:16 +02:00
parent 92150ef3ac
commit e770d66a23
2 changed files with 37 additions and 0 deletions

View file

@ -32,6 +32,8 @@ let
nautilus-sendto dconf-editor vinagre
];
gamesPackages = with gnome3; [ swell-foop ];
inherit (pkgs) libsoup glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra;
inherit (pkgs.gnome2) ORBit2;
orbit = ORBit2;
@ -279,6 +281,10 @@ let
gdl = callPackage ./devtools/gdl { };
#### Games
swell-foop = callPackage ./games/swell-foop { };
#### Misc -- other packages on http://ftp.gnome.org/pub/GNOME/sources/
california = callPackage ./misc/california { };

View file

@ -0,0 +1,31 @@
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk_pixbuf, librsvg, makeWrapper
, clutter, clutter_gtk, intltool, itstool, libxml2 }:
stdenv.mkDerivation rec {
name = "swell-foop-${gnome3.version}.1";
src = fetchurl {
url = "mirror://gnome/sources/swell-foop/${gnome3.version}/${name}.tar.xz";
sha256 = "0bhjmjcjsqdb89shs0ygi6ps5hb3lk8nhrbjnsjk4clfqbw0jzwf";
};
buildInputs = [ pkgconfig gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg
makeWrapper itstool intltool clutter clutter_gtk libxml2 ];
enableParallelBuilding = true;
preFixup = ''
wrapProgram "$out/bin/swell-foop" \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:$out/share" \
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules"
'';
meta = with stdenv.lib; {
homepage = "https://wiki.gnome.org/Apps/Swell%20Foop";
description = "Puzzle game, previously known as Same GNOME";
maintainers = with maintainers; [ lethalman ];
license = licenses.gpl2;
platforms = platforms.linux;
};
}