blob: e924f715f0de584559d4782eda1b1e2de1b55666 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildDunePackage,
fetchFromGitHub,
ocaml,
alcotest,
result,
}:
buildDunePackage (finalAttrs: {
pname = "dispatch";
version = "0.5.0";
duneVersion = "3";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = "ocaml-dispatch";
rev = finalAttrs.version;
sha256 = "12r39ylbxc297cbwjadhd1ghxnwwcdzfjk68r97wim8hcgzxyxv4";
};
propagatedBuildInputs = [ result ];
checkInputs = [ alcotest ];
doCheck = lib.versionAtLeast ocaml.version "4.08";
meta = {
inherit (finalAttrs.src.meta) homepage;
license = lib.licenses.bsd3;
description = "Path-based dispatching for client- and server-side applications";
maintainers = [ lib.maintainers.vbgl ];
};
})
|