2013-02-04 23:31:10 +01:00
|
|
|
{ fetchurl, stdenv, pkgconfig, intltool, gettext, glib, libxml2, zlib, bzip2
|
2013-09-07 02:09:11 +02:00
|
|
|
, python, gdk_pixbuf, libiconvOrEmpty, libintlOrEmpty }:
|
2009-09-30 15:11:09 +02:00
|
|
|
|
2013-02-04 23:31:10 +01:00
|
|
|
with { inherit (stdenv.lib) optionals; };
|
2005-10-26 14:44:44 +02:00
|
|
|
|
2007-11-15 00:44:21 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-03-27 22:47:29 +01:00
|
|
|
name = "libgsf-1.14.30";
|
2009-09-30 15:11:09 +02:00
|
|
|
|
2005-10-26 14:44:44 +02:00
|
|
|
src = fetchurl {
|
2013-09-07 02:09:11 +02:00
|
|
|
url = "mirror://gnome/sources/libgsf/1.14/${name}.tar.xz";
|
2014-03-27 22:47:29 +01:00
|
|
|
sha256 = "0w2v1a9sxsymd1mcy4mwsz4r6za9iwq69rj86nb939p41d4c6j6b";
|
2005-10-26 14:44:44 +02:00
|
|
|
};
|
2009-09-30 15:11:09 +02:00
|
|
|
|
2013-02-04 23:31:10 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
2013-09-07 02:09:11 +02:00
|
|
|
|
2013-02-04 23:31:10 +01:00
|
|
|
buildInputs = [ gettext bzip2 zlib python ];
|
2009-11-03 22:48:09 +01:00
|
|
|
|
2013-09-07 02:09:11 +02:00
|
|
|
propagatedBuildInputs = [ libxml2 glib gdk_pixbuf ]
|
|
|
|
++ libiconvOrEmpty
|
|
|
|
++ libintlOrEmpty;
|
2009-11-03 22:48:09 +01:00
|
|
|
|
2009-09-30 15:11:09 +02:00
|
|
|
doCheck = true;
|
2007-11-15 00:44:21 +01:00
|
|
|
|
2013-09-07 02:09:11 +02:00
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2009-09-30 15:11:09 +02:00
|
|
|
description = "GNOME's Structured File Library";
|
2013-09-07 02:09:11 +02:00
|
|
|
homepage = http://www.gnome.org/projects/libgsf;
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-09-30 15:11:09 +02:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Libgsf aims to provide an efficient extensible I/O abstraction for
|
|
|
|
dealing with different structured file formats.
|
|
|
|
'';
|
2007-11-15 00:44:21 +01:00
|
|
|
};
|
2005-10-26 14:44:44 +02:00
|
|
|
}
|