2021-02-16 07:39:46 +00:00
|
|
|
{ lib, buildDunePackage
|
2021-07-15 08:52:14 +01:00
|
|
|
, alcotest-lwt, index, irmin, irmin-layers, irmin-test, ocaml_lwt, fpath, optint
|
2021-02-16 07:39:46 +00:00
|
|
|
}:
|
2019-12-09 10:29:31 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
2020-04-13 16:34:45 +01:00
|
|
|
minimumOCamlVersion = "4.02.3";
|
2019-12-09 10:29:31 +00:00
|
|
|
|
|
|
|
pname = "irmin-pack";
|
|
|
|
|
|
|
|
inherit (irmin) version src;
|
|
|
|
|
2020-06-29 13:28:45 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2021-02-16 07:39:46 +00:00
|
|
|
buildInputs = [ fpath ];
|
2021-07-15 08:52:14 +01:00
|
|
|
propagatedBuildInputs = [ index irmin irmin-layers ocaml_lwt optint ];
|
2019-12-09 10:29:31 +00:00
|
|
|
|
2021-02-16 07:39:46 +00:00
|
|
|
checkInputs = [ alcotest-lwt irmin-test ];
|
2019-12-09 10:29:31 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = irmin.meta // {
|
|
|
|
description = "Irmin backend which stores values in a pack file";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|