summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/irmin/pack.nix
blob: 63ad03a3a8661ad80b79e56f033a1137fcc3b485 (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
{ lib, buildDunePackage
, alcotest-lwt, index, irmin, irmin-layers, irmin-test, ocaml_lwt, fpath, optint
}:

buildDunePackage rec {
  minimumOCamlVersion = "4.02.3";

  pname = "irmin-pack";

  inherit (irmin) version src;

  useDune2 = true;

  buildInputs = [ fpath ];
  propagatedBuildInputs = [ index irmin irmin-layers ocaml_lwt optint ];

  checkInputs = [ alcotest-lwt irmin-test ];

  # Check fails with cmdliner ≥ 1.1
  doCheck = false;

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

}