at 23.11-beta 33 lines 693 B view raw
1{ lib, buildDunePackage, fetchFromGitHub 2, cohttp, dispatch, ptime 3, ounit 4}: 5 6buildDunePackage rec { 7 pname = "webmachine"; 8 version = "0.7.0"; 9 duneVersion = "3"; 10 11 minimalOCamlVersion = "4.03"; 12 13 src = fetchFromGitHub { 14 owner = "inhabitedtype"; 15 repo = "ocaml-webmachine"; 16 rev = version; 17 sha256 = "03ynb1l2jjqba88m9r8m5hwlm8izpfp617r4vcab5kmdim1l2ffx"; 18 }; 19 20 propagatedBuildInputs = [ cohttp dispatch ptime ]; 21 22 checkInputs = [ ounit ]; 23 24 doCheck = true; 25 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 }; 32 33}