1 { lib, buildDunePackage, fetchFromGitHub, ocaml, alcotest, result }:
9 src = fetchFromGitHub {
10 owner = "inhabitedtype";
11 repo = "ocaml-dispatch";
13 sha256 = "12r39ylbxc297cbwjadhd1ghxnwwcdzfjk68r97wim8hcgzxyxv4";
16 propagatedBuildInputs = [ result ];
18 checkInputs = [ alcotest ];
20 doCheck = lib.versionAtLeast ocaml.version "4.08";
23 inherit (src.meta) homepage;
24 license = lib.licenses.bsd3;
25 description = "Path-based dispatching for client- and server-side applications";
26 maintainers = [ lib.maintainers.vbgl ];