Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / hpack / default.nix
blob20a0456d7449e069bd91e30dfb214ba6d807a597
1 { buildDunePackage
2 , lib
3 , fetchurl
4 , angstrom
5 , faraday
6 }:
8 buildDunePackage rec {
9   pname = "hpack";
10   version = "0.10.0";
12   src = fetchurl {
13     url = "https://github.com/anmonteiro/ocaml-h2/releases/download/${version}/h2-${version}.tbz";
14     hash = "sha256-n9avpVL6HD2KBON2FpnUeuH3HOUDOA29iSmjdcxMRvE=";
15   };
17   duneVersion = "3";
18   minimalOCamlVersion = "4.08";
20   propagatedBuildInputs = [
21     angstrom
22     faraday
23   ];
25   # circular dependency
26   doCheck = false;
28   meta = {
29     license = lib.licenses.bsd3;
30     description = "An 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   };