Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildDunePackage,
4 cmdliner,
5 functoria-runtime,
6 rresult,
7 astring,
8 fmt,
9 logs,
10 bos,
11 fpath,
12 emile,
13 uri,
14 alcotest,
15}:
16
17buildDunePackage {
18 pname = "functoria";
19 inherit (functoria-runtime) version src;
20
21 minimalOCamlVersion = "4.08";
22
23 propagatedBuildInputs = [
24 cmdliner
25 rresult
26 astring
27 fmt
28 logs
29 bos
30 fpath
31 emile
32 uri
33 ];
34
35 # Tests are not compatible with cmdliner 1.3
36 doCheck = false;
37 checkInputs = [
38 alcotest
39 functoria-runtime
40 ];
41
42 meta = with lib; {
43 description = "DSL to organize functor applications";
44 homepage = "https://github.com/mirage/functoria";
45 license = licenses.isc;
46 maintainers = [ maintainers.vbgl ];
47 };
48}