about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/irmin/graphql.nix
blob: ca205cac4e15499013bc470b007c184413aab51f (plain) (blame)
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
{ lib, buildDunePackage, cohttp-lwt, graphql-cohttp, graphql-lwt, irmin
, alcotest, alcotest-lwt, logs, yojson, cohttp-lwt-unix
}:

buildDunePackage rec {

  pname = "irmin-graphql";

  inherit (irmin) version src;

  useDune2 = true;

  propagatedBuildInputs = [ cohttp-lwt graphql-cohttp graphql-lwt irmin ];

  doCheck = true;
  checkInputs = [
    alcotest
    alcotest-lwt
    logs
    cohttp-lwt-unix
    yojson
  ];

  meta = irmin.meta // {
    description = "GraphQL server for Irmin";
  };

}