Skip to content

Commit

Permalink
ocamlPackages.httpun-types: init at 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Sep 17, 2024
1 parent c01b532 commit 50fb52b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/ocaml-modules/httpun/types.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ###
Expand Down

0 comments on commit 50fb52b

Please sign in to comment.