mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 15:04:44 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
27 lines
605 B
Nix
27 lines
605 B
Nix
{ lib, buildDunePackage
|
|
, index, ppx_irmin, irmin, optint, fmt, logs, lwt, mtime, cmdliner
|
|
, alcotest, alcotest-lwt, astring, irmin-test
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
pname = "irmin-pack";
|
|
|
|
inherit (irmin) version src strictDeps;
|
|
|
|
nativeBuildInputs = [ ppx_irmin ];
|
|
|
|
propagatedBuildInputs = [ index irmin optint fmt logs lwt mtime cmdliner ];
|
|
|
|
nativeCheckInputs = [ astring alcotest alcotest-lwt irmin-test ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = irmin.meta // {
|
|
description = "Irmin backend which stores values in a pack file";
|
|
mainProgram = "irmin_fsck";
|
|
};
|
|
|
|
}
|