2013-02-04 23:31:10 +01:00
|
|
|
{ fetchurl, stdenv, pkgconfig, intltool, gettext, glib, libxml2, zlib, bzip2
|
2018-03-14 20:15:06 +01:00
|
|
|
, python, perl, gdk_pixbuf, libiconv, libintl }:
|
2009-09-30 15:11:09 +02:00
|
|
|
|
2017-02-09 02:52:13 +01:00
|
|
|
let inherit (stdenv.lib) optionals; in
|
2005-10-26 14:44:44 +02:00
|
|
|
|
2007-11-15 00:44:21 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-02-27 05:30:24 +01:00
|
|
|
name = "libgsf-1.14.42";
|
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";
|
2018-02-27 05:30:24 +01:00
|
|
|
sha256 = "1hhdz0ymda26q6bl5ygickkgrh998lxqq4z9i8dzpcvqna3zpzr9";
|
2005-10-26 14:44:44 +02:00
|
|
|
};
|
2009-09-30 15:11:09 +02:00
|
|
|
|
2018-03-14 20:15:06 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool libintl ];
|
2013-09-07 02:09:11 +02:00
|
|
|
|
2015-05-24 19:36:36 +02:00
|
|
|
buildInputs = [ gettext bzip2 zlib python ]
|
|
|
|
++ stdenv.lib.optional doCheck perl;
|
2009-11-03 22:48:09 +01:00
|
|
|
|
2018-03-14 20:15:06 +01:00
|
|
|
propagatedBuildInputs = [ libxml2 glib gdk_pixbuf libiconv ];
|
2009-11-03 22:48:09 +01:00
|
|
|
|
2017-03-30 22:51:15 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2009-09-30 15:11:09 +02:00
|
|
|
doCheck = true;
|
2015-05-24 19:36:36 +02:00
|
|
|
preCheck = "patchShebangs ./tests/";
|
2007-11-15 00:44:21 +01:00
|
|
|
|
2013-09-07 02:09:11 +02:00
|
|
|
meta = with stdenv.lib; {
|
2009-09-30 15:11:09 +02:00
|
|
|
description = "GNOME's Structured File Library";
|
2017-08-02 23:50:51 +02:00
|
|
|
homepage = https://www.gnome.org/projects/libgsf;
|
2013-09-07 02:09:11 +02:00
|
|
|
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
|
|
|
}
|