http-parser: 2.5.0 -> 2.6.1 (CVE-2016-2086, CVE-2016-2216)

Fixes build of nodejs-0_10 and nodejs-4_x.
This commit is contained in:
Franz Pletz 2016-02-27 17:26:17 +01:00
parent e5bd913ea5
commit 7dc5ad835a

View file

@ -1,13 +1,13 @@
{ stdenv, fetchurl, gyp, utillinux, python, fixDarwinDylibNames }:
let
version = "2.5.0";
version = "2.6.1";
in stdenv.mkDerivation {
name = "http-parser-${version}";
src = fetchurl {
url = "https://github.com/joyent/http-parser/archive/v${version}.tar.gz";
sha256 = "108lh05pl4i5w7hmkw07k9wklk5pbh705pw1qyz5zvp6yicbmd73";
sha256 = "1b9ahv77zryx1z6j7sax2asx0gj209wh2244q9crj7hj14h8bkj8";
};
patches = [ ./build-shared.patch ];