nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildDunePackage,
3 cohttp-lwt,
4 cohttp-lwt-unix,
5 graphql-cohttp,
6 graphql-lwt,
7 irmin,
8 git-unix,
9 alcotest,
10 alcotest-lwt,
11 logs,
12 yojson,
13 cacert,
14}:
15
16buildDunePackage {
17
18 pname = "irmin-graphql";
19
20 inherit (irmin) version src;
21
22 propagatedBuildInputs = [
23 cohttp-lwt
24 cohttp-lwt-unix
25 graphql-cohttp
26 graphql-lwt
27 irmin
28 git-unix
29 ];
30
31 doCheck = true;
32
33 checkInputs = [
34 alcotest
35 alcotest-lwt
36 logs
37 yojson
38 cacert
39 ];
40
41 meta = irmin.meta // {
42 description = "GraphQL server for Irmin";
43 };
44}