ocamlPackages.webmachine: init at 0.6.1

This commit is contained in:
Vincent Laporte 2019-12-01 18:20:21 +00:00 committed by Vincent Laporte
parent 84d650ed2b
commit 9ed43c870e
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib, buildDunePackage, fetchFromGitHub
, cohttp, dispatch, ptime
, ounit
}:
buildDunePackage rec {
pname = "webmachine";
version = "0.6.1";
minimumOCamlVersion = "4.04";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = "ocaml-webmachine";
rev = "${version}";
sha256 = "0kpbxsvjzylbxmxag77k1c8m8mwn4f4xscqk2i7fc591llgq9fp3";
};
propagatedBuildInputs = [ cohttp dispatch ptime ];
checkInputs = lib.optional doCheck ounit;
doCheck = true;
meta = {
inherit (src.meta) homepage;
license = lib.licenses.bsd3;
description = "A REST toolkit for OCaml";
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@ -847,6 +847,8 @@ let
wasm = callPackage ../development/ocaml-modules/wasm { };
webmachine = callPackage ../development/ocaml-modules/webmachine { };
wtf8 = callPackage ../development/ocaml-modules/wtf8 { };
x509 = callPackage ../development/ocaml-modules/x509 { };