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