1{
2 buildDunePackage,
3 lib,
4 fetchurl,
5 angstrom,
6 faraday,
7}:
8
9buildDunePackage rec {
10 pname = "hpack";
11 version = "0.13.0";
12
13 src = fetchurl {
14 url = "https://github.com/anmonteiro/ocaml-h2/releases/download/${version}/h2-${version}.tbz";
15 hash = "sha256-DYm28XgXUpTnogciO+gdW4P8Mbl1Sb7DTwQyo7KoBw8=";
16 };
17
18 minimalOCamlVersion = "4.08";
19
20 propagatedBuildInputs = [
21 angstrom
22 faraday
23 ];
24
25 # circular dependency
26 doCheck = false;
27
28 meta = {
29 license = lib.licenses.bsd3;
30 description = "HPACK (Header Compression for HTTP/2) implementation in OCaml";
31 homepage = "https://github.com/anmonteiro/ocaml-h2";
32 maintainers = with lib.maintainers; [
33 sternenseemann
34 anmonteiro
35 ];
36 };
37}