2021-02-16 17:04:54 +00:00
|
|
|
{ lib, buildDunePackage
|
2021-07-16 19:40:57 +00:00
|
|
|
, alcotest-lwt, index, irmin, irmin-layers, irmin-test, ocaml_lwt, fpath, optint
|
2021-02-16 17:04:54 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
minimumOCamlVersion = "4.02.3";
|
|
|
|
|
|
|
|
pname = "irmin-pack";
|
|
|
|
|
|
|
|
inherit (irmin) version src;
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2021-02-16 17:04:54 +00:00
|
|
|
buildInputs = [ fpath ];
|
2021-07-16 19:40:57 +00:00
|
|
|
propagatedBuildInputs = [ index irmin irmin-layers ocaml_lwt optint ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-16 17:04:54 +00:00
|
|
|
checkInputs = [ alcotest-lwt irmin-test ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = irmin.meta // {
|
|
|
|
description = "Irmin backend which stores values in a pack file";
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "irmin_fsck";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|