expat: 2.2.3 -> 2.2.4

This commit is contained in:
Tim Steinbach 2017-08-21 04:10:42 -04:00 committed by Robert Helgesson
parent 04cd1db2b7
commit 4ab93f8236
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -1,33 +1,26 @@
{ stdenv, fetchpatch, fetchurl }:
stdenv.mkDerivation rec {
name = "expat-2.2.3";
name = "expat-2.2.4";
src = fetchurl {
url = "mirror://sourceforge/expat/${name}.tar.bz2";
sha256 = "0pyfma0sv4vif17kfv7xh2l2hl6skgw266a9cwm00p7q0bxr065k";
sha256 = "17h1fb9zvqvf0sr78j211bngc6jpql5wzar8fg9b52jzjvdqbb83";
};
outputs = [ "out" "dev" ]; # TODO: fix referrers
outputBin = "dev";
patches = [
(fetchpatch {
name = "fix-aarch-build.patch";
url = "https://github.com/libexpat/libexpat/commit/d98d4399174fd6f71d70e7bd89993a0e7346753d.patch";
sha256 = "0z89wb4mzyf7vvl6kbflk5w1z7yc39jwvs3mkznin5agj34x063w";
stripLen = 1;
excludes = [ "coverage.sh" ];
})
];
configureFlags = stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
outputMan = "dev"; # tiny page for a dev tool
doCheck = true;
preCheck = "patchShebangs ./run.sh";
preCheck = ''
patchShebangs ./run.sh
patchShebangs ./test-driver-wrapper.sh
'';
meta = with stdenv.lib; {
homepage = http://www.libexpat.org/;