about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/irmin/pack.nix
blob: 3a00c5e99f5f062a5c0fe017f343fd1426e1fbf1 (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
, index, ppx_irmin, irmin, optint, fmt, logs, lwt, mtime, cmdliner, checkseum, rusage
, alcotest, alcotest-lwt, astring, irmin-test
}:

buildDunePackage rec {
  minimalOCamlVersion = "4.12";

  pname = "irmin-pack";

  inherit (irmin) version src;

  nativeBuildInputs = [ ppx_irmin ];

  propagatedBuildInputs = [ index irmin optint fmt logs lwt mtime cmdliner checkseum rusage ];

  checkInputs = [ astring alcotest alcotest-lwt irmin-test ];

  doCheck = true;

  meta = irmin.meta // {
    description = "Irmin backend which stores values in a pack file";
    mainProgram = "irmin_fsck";
  };

}