Merge pull request #59962 from xrelkd/update/http-parser

http-parser: 2.9.1 -> 2.9.2
This commit is contained in:
worldofpeace 2019-04-24 09:42:03 -04:00 committed by GitHub
commit e71f7983fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,15 @@
{ stdenv, fetchurl }: { stdenv, fetchFromGitHub }:
let let
version = "2.9.1"; version = "2.9.2";
in stdenv.mkDerivation { in stdenv.mkDerivation {
name = "http-parser-${version}"; name = "http-parser-${version}";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/joyent/http-parser/archive/v${version}.tar.gz"; owner = "nodejs";
sha256 = "08fypqh3jkwvlznvmwwwir53ffg2xcxy0v8bjz6wxjlb41qhf8ik"; repo = "http-parser";
rev = "v${version}";
sha256 = "1qs6x3n2nrcj1wiik5pg5i16inykf7rcfdfdy7rwyzf40pvdl3c2";
}; };
NIX_CFLAGS_COMPILE = "-Wno-error"; NIX_CFLAGS_COMPILE = "-Wno-error";
@ -19,7 +21,7 @@ in stdenv.mkDerivation {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "An HTTP message parser written in C"; description = "An HTTP message parser written in C";
homepage = https://github.com/joyent/http-parser; homepage = https://github.com/nodejs/http-parser;
maintainers = with maintainers; [ matthewbauer ]; maintainers = with maintainers; [ matthewbauer ];
license = licenses.mit; license = licenses.mit;
platforms = platforms.unix; platforms = platforms.unix;