nixpkgs/pkgs/development/ocaml-modules/hpack/default.nix
Vincent Laporte f9adb56670
ocamlPackages.hpack: 0.9.0 → 0.10.0 (#225270)
* ocamlPackages.hpack: 0.9.0 → 0.10.0

ocamlPackages.paf: 0.4.0 → 0.5.0

ocamlPackages.http-mirage-client: 0.0.2 → 0.0.3

* ocamlPackages.httpaf: use Dune 3
2023-04-09 12:08:42 +02:00

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