Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / webmachine / default.nix
blob9f8749cac9fd368d727ddf22a4bafd06220b859b
1 { lib, buildDunePackage, fetchFromGitHub
2 , cohttp, dispatch, ptime
3 , ounit
4 }:
6 buildDunePackage rec {
7   pname = "webmachine";
8   version = "0.7.0";
9   duneVersion = "3";
11   minimalOCamlVersion = "4.03";
13   src = fetchFromGitHub {
14     owner = "inhabitedtype";
15     repo = "ocaml-webmachine";
16     rev = version;
17     sha256 = "03ynb1l2jjqba88m9r8m5hwlm8izpfp617r4vcab5kmdim1l2ffx";
18   };
20   propagatedBuildInputs = [ cohttp dispatch ptime ];
22   checkInputs = [ ounit ];
24   doCheck = true;
26   meta = {
27     homepage = "https://github.com/inhabitedtype/ocaml-webmachine";
28     license = lib.licenses.bsd3;
29     description = "A REST toolkit for OCaml";
30     maintainers = [ lib.maintainers.vbgl ];
31   };