mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
ocamlPackages.webmachine: init at 0.6.1
This commit is contained in:
parent
84d650ed2b
commit
9ed43c870e
32
pkgs/development/ocaml-modules/webmachine/default.nix
Normal file
32
pkgs/development/ocaml-modules/webmachine/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user