1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00

libxml2: 2.9.4 -> 2.9.5

This commit is contained in:
Orivej Desh 2017-09-15 17:26:49 +00:00
parent a31365d831
commit 604ca93182

View file

@ -10,22 +10,13 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "libxml2-${version}"; name = "libxml2-${version}";
version = "2.9.4"; version = "2.9.5";
src = fetchurl { src = fetchurl {
url = "http://xmlsoft.org/sources/${name}.tar.gz"; url = "http://xmlsoft.org/sources/${name}.tar.gz";
sha256 = "0g336cr0bw6dax1q48bblphmchgihx9p1pjmxdnrd6sh3qci3fgz"; sha256 = "0f6d5nkvcfx8yqis2dwrnv6qaj0nhiifz49y657vmrwwxvnc2ca0";
}; };
patches = [
(fetchpatch {
# Contains fixes for CVE-2016-{4658,5131} and other bugs.
name = "misc.patch";
url = "https://git.gnome.org/browse/libxml2/patch/?id=e905f081&id2=v2.9.4";
sha256 = "14rnzilspmh92bcpwbd6kqikj36gx78al42ilgpqgl1609krb5m5";
})
];
outputs = [ "bin" "dev" "out" "man" "doc" ] outputs = [ "bin" "dev" "out" "man" "doc" ]
++ lib.optional pythonSupport "py"; ++ lib.optional pythonSupport "py";
propagatedBuildOutputs = "out bin" + lib.optionalString pythonSupport " py"; propagatedBuildOutputs = "out bin" + lib.optionalString pythonSupport " py";