forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / ocaml-modules / dispatch / default.nix
blob958574f3d973a9008650758b0a126f06fcd619a7
1 { lib, buildDunePackage, fetchFromGitHub, ocaml, alcotest, result }:
3 buildDunePackage rec {
4   pname = "dispatch";
5   version = "0.5.0";
7   duneVersion = "3";
9   src = fetchFromGitHub {
10     owner = "inhabitedtype";
11     repo = "ocaml-dispatch";
12     rev = version;
13     sha256 = "12r39ylbxc297cbwjadhd1ghxnwwcdzfjk68r97wim8hcgzxyxv4";
14   };
16   propagatedBuildInputs = [ result ];
18   checkInputs = [ alcotest ];
20   doCheck = lib.versionAtLeast ocaml.version "4.08";
22   meta = {
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 ];
27   };