nixpkgs/pkgs/development/ocaml-modules/repr/ppx.nix
2021-06-07 14:07:59 +02:00

23 lines
371 B
Nix

{ buildDunePackage, ppx_deriving, ppxlib, repr, alcotest, hex }:
buildDunePackage {
pname = "ppx_repr";
inherit (repr) src version useDune2;
propagatedBuildInputs = [
ppx_deriving
ppxlib
repr
];
doCheck = true;
checkInputs = [
alcotest
hex
];
meta = repr.meta // {
description = "PPX deriver for type representations";
};
}