mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
28 lines
656 B
Nix
28 lines
656 B
Nix
{ lib, buildDunePackage
|
|
, index, ppx_irmin, irmin, optint, fmt, logs, lwt, mtime, cmdliner, checkseum, rusage
|
|
, alcotest, alcotest-lwt, astring, irmin-test
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
minimalOCamlVersion = "4.10";
|
|
duneVersion = "3";
|
|
|
|
pname = "irmin-pack";
|
|
|
|
inherit (irmin) version src strictDeps;
|
|
|
|
nativeBuildInputs = [ ppx_irmin ];
|
|
|
|
propagatedBuildInputs = [ index irmin optint fmt logs lwt mtime cmdliner checkseum rusage ];
|
|
|
|
checkInputs = [ astring alcotest alcotest-lwt irmin-test ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = irmin.meta // {
|
|
description = "Irmin backend which stores values in a pack file";
|
|
mainProgram = "irmin_fsck";
|
|
};
|
|
|
|
}
|