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