2024-07-16 01:40:28 +00:00
|
|
|
{ buildDunePackage
|
2023-02-04 20:27:33 +00:00
|
|
|
, index, ppx_irmin, irmin, optint, fmt, logs, lwt, mtime, cmdliner, checkseum, rusage
|
2022-10-11 06:50:54 +00:00
|
|
|
, alcotest, alcotest-lwt, astring, irmin-test
|
2021-02-16 07:39:46 +00:00
|
|
|
}:
|
2019-12-09 10:29:31 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
2024-03-20 06:06:09 +00:00
|
|
|
minimalOCamlVersion = "4.12";
|
2019-12-09 10:29:31 +00:00
|
|
|
|
|
|
|
pname = "irmin-pack";
|
|
|
|
|
2024-04-17 03:55:40 +00:00
|
|
|
inherit (irmin) version src;
|
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
|
|
|
|
2023-02-04 20:27:33 +00:00
|
|
|
propagatedBuildInputs = [ index irmin optint fmt logs lwt mtime cmdliner checkseum rusage ];
|
2019-12-09 10:29:31 +00:00
|
|
|
|
2022-03-01 15:42:22 +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
|
|
|
};
|
|
|
|
|
|
|
|
}
|