iagno: init at 3.16.1

This commit is contained in:
Luca Bruno 2015-07-22 21:25:46 +02:00
parent c034e966bf
commit 2a36f709d3
2 changed files with 35 additions and 2 deletions

View File

@ -32,7 +32,7 @@ let
nautilus-sendto dconf-editor vinagre
];
gamesPackages = with gnome3; [ swell-foop lightsoff ];
gamesPackages = with gnome3; [ swell-foop lightsoff iagno ];
inherit (pkgs) libsoup glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra;
inherit (pkgs.gnome2) ORBit2;
@ -283,10 +283,12 @@ let
#### Games
swell-foop = callPackage ./games/swell-foop { };
iagno = callPackage ./games/iagno { };
lightsoff = callPackage ./games/lightsoff { };
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
, intltool, itstool, libcanberra_gtk3, libxml2 }:
stdenv.mkDerivation rec {
name = "iagno-${gnome3.version}.1";
src = fetchurl {
url = "mirror://gnome/sources/iagno/${gnome3.version}/${name}.tar.xz";
sha256 = "0pg4sx277idfab3qxxn8c7r6gpdsdw5br0x7fxhxqascvvx8my1k";
};
buildInputs = [ pkgconfig gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg
libxml2 libcanberra_gtk3 makeWrapper itstool intltool ];
enableParallelBuilding = true;
preFixup = ''
wrapProgram "$out/bin/iagno" \
--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/Iagno;
description = "Computer version of the game Reversi, more popularly called Othello";
maintainers = with maintainers; [ lethalman ];
license = licenses.gpl2;
platforms = platforms.linux;
};
}