nixpkgs/pkgs/development/ocaml-modules/hpack/default.nix
2023-12-08 06:13:39 +01:00

36 lines
733 B
Nix

{ buildDunePackage
, lib
, fetchurl
, angstrom
, faraday
}:
buildDunePackage rec {
pname = "hpack";
version = "0.11.0";
src = fetchurl {
url = "https://github.com/anmonteiro/ocaml-h2/releases/download/${version}/h2-${version}.tbz";
hash = "sha256-GdXwazlgDurjzy7ekLpuMkCii8W+F/jl/IBv/WTHgFM=";
};
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
];
};
}