about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/irmin/default.nix
blob: 485547ddcad6851d7754a514ab0c0d952a591fa8 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
{ lib, buildDunePackage
, astring, digestif, fmt, jsonm, logs, ocaml_lwt, ocamlgraph, uri
, repr, ppx_irmin, bheap, uutf, mtime, lwt, optint
, vector, hex, alcotest, qcheck-alcotest
}:

buildDunePackage {
  pname = "irmin";

  inherit (ppx_irmin) src version strictDeps;

  minimalOCamlVersion = "4.10";
  duneVersion = "3";

  propagatedBuildInputs = [
    astring
    bheap
    digestif
    fmt
    jsonm
    logs
    lwt
    mtime
    ocamlgraph
    optint
    ppx_irmin
    repr
    uri
    uutf
  ];

  checkInputs = [
    vector
    hex
    alcotest
    qcheck-alcotest
  ];

  doCheck = true;

  meta = ppx_irmin.meta // {
    description = "A distributed database built on the same principles as Git";
  };
}