Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, cohttp-lwt, cohttp-lwt-unix, graphql-cohttp, graphql-lwt, irmin, git-unix
2, alcotest, alcotest-lwt, logs, yojson, cacert
3}:
4
5buildDunePackage rec {
6
7 pname = "irmin-graphql";
8
9 inherit (irmin) version src;
10 duneVersion = "3";
11
12 propagatedBuildInputs = [ cohttp-lwt cohttp-lwt-unix graphql-cohttp graphql-lwt irmin git-unix ];
13
14 doCheck = true;
15
16 checkInputs = [
17 alcotest
18 alcotest-lwt
19 logs
20 yojson
21 cacert
22 ];
23
24 meta = irmin.meta // {
25 description = "GraphQL server for Irmin";
26 };
27}