depot/third_party/nixpkgs/pkgs/development/ocaml-modules/hpack/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

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
];
};
}