2013-02-04 22:31:10 +00:00
|
|
|
{ fetchurl, stdenv, pkgconfig, intltool, gettext, glib, libxml2, zlib, bzip2
|
2018-12-24 03:22:07 +00:00
|
|
|
, python, perl, gdk_pixbuf, libiconv, libintl, gnome3 }:
|
2009-09-30 13:11:09 +00:00
|
|
|
|
2007-11-14 23:44:21 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-12-24 03:22:07 +00:00
|
|
|
pname = "libgsf";
|
|
|
|
version = "1.14.45";
|
2009-09-30 13:11:09 +00:00
|
|
|
|
2005-10-26 12:44:44 +00:00
|
|
|
src = fetchurl {
|
2018-12-24 03:22:07 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "1yk91ccf7z9b8d8ac6vip3gc5c0pkwgabqy6l0pj0kf43l7jrg2w";
|
2005-10-26 12:44:44 +00:00
|
|
|
};
|
2009-09-30 13:11:09 +00:00
|
|
|
|
2018-03-14 19:15:06 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool libintl ];
|
2013-09-07 00:09:11 +00:00
|
|
|
|
2018-08-08 18:48:18 +00:00
|
|
|
buildInputs = [ gettext bzip2 zlib python ];
|
|
|
|
checkInputs = [ perl ];
|
2009-11-03 21:48:09 +00:00
|
|
|
|
2018-03-14 19:15:06 +00:00
|
|
|
propagatedBuildInputs = [ libxml2 glib gdk_pixbuf libiconv ];
|
2009-11-03 21:48:09 +00:00
|
|
|
|
2017-03-30 20:51:15 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2009-09-30 13:11:09 +00:00
|
|
|
doCheck = true;
|
2015-05-24 17:36:36 +00:00
|
|
|
preCheck = "patchShebangs ./tests/";
|
2007-11-14 23:44:21 +00:00
|
|
|
|
2018-12-24 03:22:07 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-09-07 00:09:11 +00:00
|
|
|
meta = with stdenv.lib; {
|
2009-09-30 13:11:09 +00:00
|
|
|
description = "GNOME's Structured File Library";
|
2017-08-02 21:50:51 +00:00
|
|
|
homepage = https://www.gnome.org/projects/libgsf;
|
2013-09-07 00:09:11 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-09-30 13:11:09 +00:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Libgsf aims to provide an efficient extensible I/O abstraction for
|
|
|
|
dealing with different structured file formats.
|
|
|
|
'';
|
2007-11-14 23:44:21 +00:00
|
|
|
};
|
2005-10-26 12:44:44 +00:00
|
|
|
}
|