ocamlPackages.httpun-types: init at 0.2.0

This commit is contained in:
Vincent Laporte 2024-09-17 17:15:09 +02:00 committed by Vincent Laporte
parent d6e9ce6329
commit 40f7c72b65
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib
, buildDunePackage
, fetchurl
, faraday
}:
buildDunePackage rec {
pname = "httpun-types";
version = "0.2.0";
src = fetchurl {
url = "https://github.com/anmonteiro/httpun/releases/download/${version}/httpun-${version}.tbz";
hash = "sha256-os4n70yFro4cEAjR49Xok9ayEbk0WGod0pQvfbaHvSw=";
};
propagatedBuildInputs = [ faraday ];
meta = {
description = "Common HTTP/1.x types";
homepage = "https://github.com/anmonteiro/httpun";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@ -689,6 +689,8 @@ let
httpaf-lwt-unix = callPackage ../development/ocaml-modules/httpaf/lwt-unix.nix { };
httpun-types = callPackage ../development/ocaml-modules/httpun/types.nix { };
hxd = callPackage ../development/ocaml-modules/hxd { };
### I ###