87f9c27ba9
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
37 lines
754 B
Nix
37 lines
754 B
Nix
{ buildDunePackage
|
|
, lib
|
|
, fetchurl
|
|
, angstrom
|
|
, faraday
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "hpack";
|
|
version = "0.10.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/anmonteiro/ocaml-h2/releases/download/${version}/h2-${version}.tbz";
|
|
hash = "sha256-n9avpVL6HD2KBON2FpnUeuH3HOUDOA29iSmjdcxMRvE=";
|
|
};
|
|
|
|
duneVersion = "3";
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
propagatedBuildInputs = [
|
|
angstrom
|
|
faraday
|
|
];
|
|
|
|
# circular dependency
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
license = lib.licenses.bsd3;
|
|
description = "An HPACK (Header Compression for HTTP/2) implementation in OCaml";
|
|
homepage = "https://github.com/anmonteiro/ocaml-h2";
|
|
maintainers = with lib.maintainers; [
|
|
sternenseemann
|
|
anmonteiro
|
|
];
|
|
};
|
|
}
|