1 { lib, stdenv, fetchFromGitHub, cmake, testers, python3 }:
3 stdenv.mkDerivation (finalAttrs: {
7 src = fetchFromGitHub {
10 rev = "release/v${finalAttrs.version}";
11 hash = "sha256-cnEp7Ds32bqu3jeUU/rqJOr/VW3KNmJU4pmNNaTpXRs=";
14 outputs = [ "out" "dev" ];
21 "-DBUILD_STATIC_LIBS=ON"
25 inherit (python3.pkgs) aiohttp;
27 pkg-config = testers.hasPkgConfigModules {
28 package = finalAttrs.finalPackage;
29 moduleNames = [ "libllhttp" ];
34 description = "Port of http_parser to llparse";
35 homepage = "https://llhttp.org/";
36 changelog = "https://github.com/nodejs/llhttp/releases/tag/release/v${finalAttrs.version}";
37 license = licenses.mit;
39 platforms = platforms.all;