nixpkgs/pkgs/development/ocaml-modules/webmachine/default.nix
Vincent Laporte 597e7748d1 ocamlPackages.dispatch: 0.4.1 → 0.5.0
ocamlPackages.webmachine: 0.6.2 → 0.7.0
2020-11-18 08:24:28 +01:00

33 lines
656 B
Nix

{ lib, buildDunePackage, fetchFromGitHub
, cohttp, dispatch, ptime
, ounit
}:
buildDunePackage rec {
pname = "webmachine";
version = "0.7.0";
useDune2 = true;
minimumOCamlVersion = "4.04";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = "ocaml-webmachine";
rev = version;
sha256 = "03ynb1l2jjqba88m9r8m5hwlm8izpfp617r4vcab5kmdim1l2ffx";
};
propagatedBuildInputs = [ cohttp dispatch ptime ];
checkInputs = [ ounit ];
doCheck = true;
meta = {
inherit (src.meta) homepage;
license = lib.licenses.bsd3;
description = "A REST toolkit for OCaml";
maintainers = [ lib.maintainers.vbgl ];
};
}