2021-02-16 07:39:46 +00:00
|
|
|
{ lib, buildDunePackage
|
2022-10-11 06:50:54 +00:00
|
|
|
, index, ppx_irmin, irmin, optint, fmt, logs, lwt, mtime, cmdliner
|
|
|
|
, alcotest, alcotest-lwt, astring, irmin-test
|
2021-02-16 07:39:46 +00:00
|
|
|
}:
|
2019-12-09 10:29:31 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
2022-10-11 06:50:54 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2019-12-09 10:29:31 +00:00
|
|
|
|
|
|
|
pname = "irmin-pack";
|
|
|
|
|
2022-10-11 06:50:54 +00:00
|
|
|
inherit (irmin) version src strictDeps;
|
2019-12-09 10:29:31 +00:00
|
|
|
|
2022-10-11 06:50:54 +00:00
|
|
|
nativeBuildInputs = [ ppx_irmin ];
|
2020-06-29 12:28:45 +00:00
|
|
|
|
2022-10-11 06:50:54 +00:00
|
|
|
propagatedBuildInputs = [ index irmin optint fmt logs lwt mtime cmdliner ];
|
2019-12-09 10:29:31 +00:00
|
|
|
|
2022-10-11 06:50:54 +00:00
|
|
|
checkInputs = [ astring alcotest alcotest-lwt irmin-test ];
|
2019-12-09 10:29:31 +00:00
|
|
|
|
2022-10-11 06:50:54 +00:00
|
|
|
doCheck = true;
|
2019-12-09 10:29:31 +00:00
|
|
|
|
|
|
|
meta = irmin.meta // {
|
|
|
|
description = "Irmin backend which stores values in a pack file";
|
2022-05-13 23:48:49 +00:00
|
|
|
mainProgram = "irmin_fsck";
|
2019-12-09 10:29:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|