2020-04-13 16:34:45 +01:00
|
|
|
{ lib, buildDunePackage, alcotest-lwt, index, irmin, irmin-test, ocaml_lwt }:
|
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;
|
|
|
|
|
2020-04-13 16:34:45 +01:00
|
|
|
propagatedBuildInputs = [ index irmin ocaml_lwt ];
|
2019-12-09 10:29:31 +00:00
|
|
|
|
|
|
|
checkInputs = lib.optionals doCheck [ alcotest-lwt irmin-test ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = irmin.meta // {
|
|
|
|
description = "Irmin backend which stores values in a pack file";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|