nixpkgs/pkgs/development/libraries/http-parser/default.nix
R. RyanTM 5b9ad12e7b http-parser: 2.8.1 -> 2.9.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/http-parser/versions
2019-01-03 10:03:51 -08:00

27 lines
731 B
Nix

{ stdenv, fetchurl }:
let
version = "2.9.0";
in stdenv.mkDerivation {
name = "http-parser-${version}";
src = fetchurl {
url = "https://github.com/joyent/http-parser/archive/v${version}.tar.gz";
sha256 = "0gv1dhzwlv1anbzrba20l39gzzmz818yv8jbclbls268aj62c9pg";
};
NIX_CFLAGS_COMPILE = "-Wno-error";
patches = [ ./build-shared.patch ];
makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
buildFlags = "library";
doCheck = true;
checkTarget = "test";
meta = with stdenv.lib; {
description = "An HTTP message parser written in C";
homepage = https://github.com/joyent/http-parser;
maintainers = with maintainers; [ matthewbauer ];
license = licenses.mit;
platforms = platforms.unix;
};
}