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

buildDunePackage rec {

  pname = "irmin-graphql";

  inherit (irmin) version src;

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

  doCheck = true;

  checkInputs = [
    alcotest
    alcotest-lwt
    logs
    yojson
    cacert
  ];

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