expat: 2.2.10 -> 2.4.1 (CVE-2013-0340) (#124212)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
9309a23dd3
commit
9e74629a33
|
@ -5,14 +5,13 @@
|
|||
# cgit) that are needed here should be included directly in Nixpkgs as
|
||||
# files.
|
||||
|
||||
let
|
||||
version = "2.2.10";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "expat-${version}";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "expat";
|
||||
version = "2.4.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/libexpat/libexpat/releases/download/R_${lib.replaceStrings ["."] ["_"] version}/${name}.tar.xz";
|
||||
sha256 = "sha256-Xf5Tj4tbY/A+mO2sUg19mmpNIuSC5cltTQb8xUhcJfI=";
|
||||
url = "https://github.com/libexpat/libexpat/releases/download/R_${lib.replaceStrings ["."] ["_"] version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-zwMtDbqbkoY2VI4ysyei1msaq2PE9KE90TLC0dLy+2o=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ]; # TODO: fix referrers
|
||||
|
@ -25,12 +24,11 @@ in stdenv.mkDerivation rec {
|
|||
doCheck = true; # not cross;
|
||||
|
||||
preCheck = ''
|
||||
patchShebangs ./run.sh
|
||||
patchShebangs ./test-driver-wrapper.sh
|
||||
patchShebangs ./configure ./run.sh ./test-driver-wrapper.sh
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.libexpat.org/";
|
||||
homepage = "https://libexpat.github.io/";
|
||||
description = "A stream-oriented XML parser library written in C";
|
||||
platforms = platforms.all;
|
||||
license = licenses.mit; # expat version
|
||||
|
|
Loading…
Reference in a new issue