From 5fc48529bc8dcdd578b71c9fdb919fefba0f8c74 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 18 Jun 2017 23:49:24 +0200 Subject: [PATCH] expat: 2.2.0 -> 2.2.1 Includes fixes for CVE-2017-9233 and CVE-2016-9063. --- pkgs/development/libraries/expat/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/expat/default.nix b/pkgs/development/libraries/expat/default.nix index 1001afff0d48..3cbfc4c568d9 100644 --- a/pkgs/development/libraries/expat/default.nix +++ b/pkgs/development/libraries/expat/default.nix @@ -1,11 +1,11 @@ { stdenv, fetchurl }: stdenv.mkDerivation rec { - name = "expat-2.2.0"; + name = "expat-2.2.1"; src = fetchurl { url = "mirror://sourceforge/expat/${name}.tar.bz2"; - sha256 = "1zq4lnwjlw8s9mmachwfvfjf2x3lk24jm41746ykhdcvs7r0zrfr"; + sha256 = "11c8jy1wvllvlk7xdc5cm8hdhg0hvs8j0aqy6s702an8wkdcls0q"; }; outputs = [ "out" "dev" ]; # TODO: fix referrers @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { doCheck = true; + preCheck = "patchShebangs ./run.sh"; + meta = with stdenv.lib; { homepage = http://www.libexpat.org/; description = "A stream-oriented XML parser library written in C";