mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
f9adb56670
* 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
38 lines
754 B
Nix
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
|
|
];
|
|
};
|
|
}
|