2009-09-30 17:11:09 +04:00
|
|
|
{ fetchurl, stdenv, perl, perlXMLParser, pkgconfig, libxml2
|
2012-07-11 22:15:06 +04:00
|
|
|
, gettext, intltool, bzip2, glib, python
|
|
|
|
, gnomeSupport ? true, gdk_pixbuf ? null
|
2012-07-11 22:05:36 +04:00
|
|
|
, gnome_vfs ? null, libbonobo ? null }:
|
2009-09-30 17:11:09 +04:00
|
|
|
|
2012-07-11 22:05:36 +04:00
|
|
|
assert gnomeSupport -> gdk_pixbuf != null && gnome_vfs != null && libbonobo != null
|
|
|
|
&& glib != null;
|
2005-10-26 16:44:44 +04:00
|
|
|
|
2007-11-15 02:44:21 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2012-01-07 00:10:15 +04:00
|
|
|
name = "libgsf-1.14.22";
|
2009-09-30 17:11:09 +04:00
|
|
|
|
2005-10-26 16:44:44 +04:00
|
|
|
src = fetchurl {
|
2012-01-07 00:10:15 +04:00
|
|
|
url = mirror://gnome/sources/libgsf/1.14/libgsf-1.14.22.tar.xz;
|
|
|
|
sha256 = "0gvq1gbbcl078s3kgdc508jp7p3a3ps34fj4pf8vsamprbikpwm5";
|
2005-10-26 16:44:44 +04:00
|
|
|
};
|
2009-09-30 17:11:09 +04:00
|
|
|
|
2012-01-19 00:53:01 +04:00
|
|
|
buildNativeInputs = [ intltool pkgconfig ];
|
2009-11-04 00:48:09 +03:00
|
|
|
buildInputs =
|
2012-07-11 22:15:06 +04:00
|
|
|
[ perl perlXMLParser gettext bzip2 python ]
|
|
|
|
++ stdenv.lib.optionals gnomeSupport [ gnome_vfs gdk_pixbuf ];
|
2009-11-04 00:48:09 +03:00
|
|
|
|
2012-07-11 22:15:06 +04:00
|
|
|
propagatedBuildInputs = [ libxml2 glib ]
|
|
|
|
++ stdenv.lib.optionals gnomeSupport [ libbonobo ];
|
2009-11-04 00:48:09 +03:00
|
|
|
|
2009-09-30 17:11:09 +04:00
|
|
|
doCheck = true;
|
2007-11-15 02:44:21 +03:00
|
|
|
|
|
|
|
meta = {
|
2009-09-30 17:11:09 +04: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-15 02:44:21 +03:00
|
|
|
};
|
2005-10-26 16:44:44 +04:00
|
|
|
}
|