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