nixpkgs/pkgs/development/libraries/libgsf/default.nix
Vladimír Čunát ec3965d8d0 Revert Merge x-updates into master due to mesa bloat
See #490 discussion.

This reverts commit 1278859d31, reversing
changes made to 0c020c98f9.

Conflicts:
	pkgs/desktops/xfce/core/xfce4-session.nix (take master)
	pkgs/lib/misc.nix (auto)
2013-05-09 14:03:35 +02:00

40 lines
1.2 KiB
Nix

{ fetchurl, stdenv, perl, perlXMLParser, pkgconfig, libxml2
, gettext, intltool, bzip2, glib, python
, gnomeSupport ? true, gdk_pixbuf ? null
, gnome_vfs ? null, libbonobo ? null }:
assert gnomeSupport -> gdk_pixbuf != null && gnome_vfs != null && libbonobo != null
&& glib != null;
stdenv.mkDerivation rec {
name = "libgsf-1.14.25";
src = fetchurl {
url = "mirror://gnome/sources/libgsf/1.14/${name}.tar.xz";
sha256 = "127548f07e07951984fb139c3f89d65b9e471aefe6555387de03e1113944d1a2";
};
nativeBuildInputs = [ intltool pkgconfig ];
buildInputs =
[ perl perlXMLParser gettext bzip2 python ]
++ stdenv.lib.optionals gnomeSupport [ gnome_vfs gdk_pixbuf ];
propagatedBuildInputs = [ libxml2 glib ]
++ stdenv.lib.optionals gnomeSupport [ libbonobo ];
doCheck = true;
meta = {
homepage = http://www.gnome.org/projects/libgsf;
license = "LGPLv2";
description = "GNOME's Structured File Library";
longDescription = ''
Libgsf aims to provide an efficient extensible I/O abstraction for
dealing with different structured file formats.
'';
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.linux;
};
}