mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
ocamlPackages.hpack: init at 0.8.0
This commit is contained in:
parent
224fc21cc3
commit
4d53880408
37
pkgs/development/ocaml-modules/hpack/default.nix
Normal file
37
pkgs/development/ocaml-modules/hpack/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ buildDunePackage
|
||||
, lib
|
||||
, fetchurl
|
||||
, angstrom
|
||||
, faraday
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "hpack";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/anmonteiro/ocaml-h2/releases/download/${version}/h2-${version}.tbz";
|
||||
sha256 = "0qcn3yvyz0h419fjg9nb20csfmwmh3ihz0zb0jfzdycf5w4mlry6";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
minimumOCamlVersion = "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
|
||||
];
|
||||
};
|
||||
}
|
@ -413,6 +413,8 @@ let
|
||||
|
||||
hmap = callPackage ../development/ocaml-modules/hmap { };
|
||||
|
||||
hpack = callPackage ../development/ocaml-modules/hpack { };
|
||||
|
||||
hxd = callPackage ../development/ocaml-modules/hxd { };
|
||||
|
||||
imagelib = callPackage ../development/ocaml-modules/imagelib { };
|
||||
|
Loading…
Reference in New Issue
Block a user