Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildDunePackage
2, gen_js_api
3, js_of_ocaml-compiler
4}:
5
6buildDunePackage rec {
7 pname = "ojs";
8
9 inherit (gen_js_api) version src;
10 duneVersion = "3";
11
12 propagatedBuildInputs = [ js_of_ocaml-compiler ];
13
14 doCheck = false; # checks depend on gen_js_api, which is a cycle
15
16 minimalOCamlVersion = "4.08";
17
18 meta = {
19 inherit (gen_js_api.meta) homepage license maintainers;
20 description = "Runtime Library for gen_js_api generated libraries";
21 longDescription = ''
22 To be used in conjunction with gen_js_api
23 '';
24 };
25}