2009-09-30 06:11:09 -07:00
|
|
|
{ fetchurl, stdenv, perl, perlXMLParser, pkgconfig, libxml2
|
2012-07-11 11:15:06 -07:00
|
|
|
, gettext, intltool, bzip2, glib, python
|
|
|
|
, gnomeSupport ? true, gdk_pixbuf ? null
|
2012-07-11 11:05:36 -07:00
|
|
|
, gnome_vfs ? null, libbonobo ? null }:
|
2009-09-30 06:11:09 -07:00
|
|
|
|
2012-07-11 11:05:36 -07:00
|
|
|
assert gnomeSupport -> gdk_pixbuf != null && gnome_vfs != null && libbonobo != null
|
|
|
|
&& glib != null;
|
2005-10-26 05:44:44 -07:00
|
|
|
|
2007-11-14 15:44:21 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2013-02-05 02:59:26 -08:00
|
|
|
name = "libgsf-1.14.25";
|
2009-09-30 06:11:09 -07:00
|
|
|
|
2005-10-26 05:44:44 -07:00
|
|
|
src = fetchurl {
|
2012-07-15 00:59:04 -07:00
|
|
|
url = "mirror://gnome/sources/libgsf/1.14/${name}.tar.xz";
|
2013-02-05 02:59:26 -08:00
|
|
|
sha256 = "127548f07e07951984fb139c3f89d65b9e471aefe6555387de03e1113944d1a2";
|
2005-10-26 05:44:44 -07:00
|
|
|
};
|
2009-09-30 06:11:09 -07:00
|
|
|
|
2012-12-28 10:20:09 -08:00
|
|
|
nativeBuildInputs = [ intltool pkgconfig ];
|
2009-11-03 13:48:09 -08:00
|
|
|
buildInputs =
|
2012-07-11 11:15:06 -07:00
|
|
|
[ perl perlXMLParser gettext bzip2 python ]
|
|
|
|
++ stdenv.lib.optionals gnomeSupport [ gnome_vfs gdk_pixbuf ];
|
2009-11-03 13:48:09 -08:00
|
|
|
|
2012-07-11 11:15:06 -07:00
|
|
|
propagatedBuildInputs = [ libxml2 glib ]
|
|
|
|
++ stdenv.lib.optionals gnomeSupport [ libbonobo ];
|
2009-11-03 13:48:09 -08:00
|
|
|
|
2009-09-30 06:11:09 -07:00
|
|
|
doCheck = true;
|
2007-11-14 15:44:21 -08:00
|
|
|
|
|
|
|
meta = {
|
2009-09-30 06:11:09 -07:00
|
|
|
homepage = http://www.gnome.org/projects/libgsf;
|
|
|
|
license = "LGPLv2";
|
|
|
|
description = "GNOME's Structured File Library";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Libgsf aims to provide an efficient extensible I/O abstraction for
|
|
|
|
dealing with different structured file formats.
|
|
|
|
'';
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2007-11-14 15:44:21 -08:00
|
|
|
};
|
2005-10-26 05:44:44 -07:00
|
|
|
}
|