nixpkgs-suyu/pkgs/development/ocaml-modules/repr/ppx.nix

24 lines
376 B
Nix
Raw Normal View History

{ lib, buildDunePackage, ppx_deriving, ppxlib, repr, alcotest, hex }:
buildDunePackage {
pname = "ppx_repr";
inherit (repr) src version useDune2;
propagatedBuildInputs = [
ppx_deriving
2021-06-06 13:04:43 +02:00
ppxlib
repr
];
doCheck = true;
checkInputs = [
alcotest
hex
];
meta = repr.meta // {
description = "PPX deriver for type representations";
};
}