2024-07-27 06:49:29 +00:00
|
|
|
{ buildDunePackage
|
2023-02-09 11:40:11 +00:00
|
|
|
, index, ppx_irmin, irmin, optint, fmt, logs, lwt, mtime, cmdliner, checkseum, rusage
|
2022-10-21 18:38:19 +00:00
|
|
|
, alcotest, alcotest-lwt, astring, irmin-test
|
2021-02-16 17:04:54 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
2024-04-21 15:54:59 +00:00
|
|
|
minimalOCamlVersion = "4.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
pname = "irmin-pack";
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
inherit (irmin) version src;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
nativeBuildInputs = [ ppx_irmin ];
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
propagatedBuildInputs = [ index irmin optint fmt logs lwt mtime cmdliner checkseum rusage ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ astring alcotest alcotest-lwt irmin-test ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = irmin.meta // {
|
|
|
|
description = "Irmin backend which stores values in a pack file";
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "irmin_fsck";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|