blob: 413e70ee26af50c2716219acd00567ad83fec70f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "llhttp";
version = "9.0.1";
src = fetchFromGitHub {
owner = "nodejs";
repo = "llhttp";
rev = "release/v${version}";
hash = "sha256-cXqc6/lQUhp9GV8msXsPokd6OGSczvz8uAXkM16GEE0=";
};
nativeBuildInputs = [
cmake
];
cmakeFlags = [
"-DBUILD_STATIC_LIBS=ON"
];
meta = with lib; {
description = "Port of http_parser to llparse";
homepage = "https://llhttp.org/";
changelog = "https://github.com/nodejs/llhttp/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
platforms = platforms.all;
};
}
|