nixpkgs/pkgs/development/ocaml-modules/repr/ppx.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

24 lines
420 B
Nix

{ lib, buildDunePackage, ppx_deriving, ppxlib, repr, alcotest, hex }:
buildDunePackage {
pname = "ppx_repr";
inherit (repr) src version strictDeps;
propagatedBuildInputs = [
ppx_deriving
ppxlib
repr
];
doCheck = false; # tests fail with ppxlib >= 0.23.0
nativeCheckInputs = [
alcotest
hex
];
meta = repr.meta // {
description = "PPX deriver for type representations";
};
}