libgsf: small update

It was needed for gnumeric update.
/cc maintainer @lovek323.
This commit is contained in:
Vladimír Čunát 2015-05-24 19:36:36 +02:00
parent 2e9bc4aee3
commit c75590fa6f

View File

@ -1,24 +1,26 @@
{ fetchurl, stdenv, pkgconfig, intltool, gettext, glib, libxml2, zlib, bzip2 { fetchurl, stdenv, pkgconfig, intltool, gettext, glib, libxml2, zlib, bzip2
, python, gdk_pixbuf, libiconv, libintlOrEmpty }: , python, perl, gdk_pixbuf, libiconv, libintlOrEmpty }:
with { inherit (stdenv.lib) optionals; }; with { inherit (stdenv.lib) optionals; };
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libgsf-1.14.30"; name = "libgsf-1.14.32";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/libgsf/1.14/${name}.tar.xz"; url = "mirror://gnome/sources/libgsf/1.14/${name}.tar.xz";
sha256 = "0w2v1a9sxsymd1mcy4mwsz4r6za9iwq69rj86nb939p41d4c6j6b"; sha256 = "13bf38b848c01e20eb89a48150b6f864434ee4dfbb6301ddf6f4080a36cd99e9";
}; };
nativeBuildInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ gettext bzip2 zlib python ]; buildInputs = [ gettext bzip2 zlib python ]
++ stdenv.lib.optional doCheck perl;
propagatedBuildInputs = [ libxml2 glib gdk_pixbuf libiconv ] propagatedBuildInputs = [ libxml2 glib gdk_pixbuf libiconv ]
++ libintlOrEmpty; ++ libintlOrEmpty;
doCheck = true; doCheck = true;
preCheck = "patchShebangs ./tests/";
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl"; NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";