nixpkgs/pkgs/development/ocaml-modules/irmin/tezos.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
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.
2023-01-21 12:00:00 +00:00

34 lines
625 B
Nix

{ lib, buildDunePackage
, irmin, irmin-pack, ppx_irmin, digestif, cmdliner, fmt, yojson, tezos-base58
, alcotest, hex, irmin-test, fpath
}:
buildDunePackage rec {
pname = "irmin-tezos";
inherit (irmin) version src strictDeps;
propagatedBuildInputs = [
irmin
irmin-pack
ppx_irmin
digestif
fmt
tezos-base58
];
buildInputs = [
cmdliner
yojson
];
nativeCheckInputs = [ alcotest hex irmin-test fpath ];
doCheck = true;
meta = irmin.meta // {
description = "Irmin implementation of the Tezos context hash specification";
maintainers = [ lib.maintainers.ulrikstrid ];
};
}