mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
565589da39
ocamlPackages.{hpack,h2}: 0.8.0 → 0.9.0
37 lines
734 B
Nix
37 lines
734 B
Nix
{ buildDunePackage
|
|
, lib
|
|
, fetchurl
|
|
, angstrom
|
|
, faraday
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "hpack";
|
|
version = "0.9.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/anmonteiro/ocaml-h2/releases/download/${version}/h2-${version}.tbz";
|
|
sha256 = "sha256-7gjRhJs2mufQbImAXiKFT9mZ1kHGSHHwjCVZM5f0C14=";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.04";
|
|
|
|
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
|
|
];
|
|
};
|
|
}
|