Merge pull request #53347 from dtzWill/update/libxslt-1.1.33

libxslt: 1.1.32 -> 1.1.33, cleanup
This commit is contained in:
Will Dietz
2019-01-05 12:00:54 -06:00
committed by GitHub
2 changed files with 2 additions and 79 deletions
+2 -10
View File
@@ -10,22 +10,14 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "libxslt";
version = "1.1.32";
version = "1.1.33";
name = pname + "-" + version;
src = fetchurl {
url = "http://xmlsoft.org/sources/${name}.tar.gz";
sha256 = "0q2l6m56iv3ysxgm2walhg4c9wp7q183jb328687i9zlp85csvjj";
sha256 = "1j1q1swnsy8jgi9x7mclvkrqhfgn09886gdlr9wzk7a08i8n0dlf";
};
patches = stdenv.lib.optional stdenv.isSunOS ./patch-ah.patch;
# fixes: can't build x86_64-unknown-cygwin shared library unless -no-undefined is specified
postPatch = optionalString stdenv.hostPlatform.isCygwin ''
substituteInPlace tests/plugins/Makefile.in \
--replace 'la_LDFLAGS =' 'la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS)'
'';
outputs = [ "bin" "dev" "out" "man" "doc" ] ++ stdenv.lib.optional pythonSupport "py";
buildInputs = [ libxml2.dev ]