2021-02-16 17:04:54 +00:00
|
|
|
{ lib, buildDunePackage
|
|
|
|
, alcotest-lwt, index, irmin, irmin-layers, irmin-test, ocaml_lwt, fpath
|
|
|
|
}:
|
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 ];
|
|
|
|
propagatedBuildInputs = [ index irmin irmin-layers ocaml_lwt ];
|
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";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|