Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildDunePackage, alcotest, graphql, ocaml_lwt }:
2
3buildDunePackage rec {
4 pname = "graphql-lwt";
5
6 inherit (graphql) version src;
7
8 duneVersion = "3";
9
10 propagatedBuildInputs = [ graphql ocaml_lwt ];
11
12 checkInputs = [ alcotest ];
13
14 doCheck = true;
15
16 meta = graphql.meta // {
17 description = "Build GraphQL schemas with Lwt support";
18 };
19
20}
21