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