2021-07-15 08:52:14 +01:00
|
|
|
{ lib, buildDunePackage, ppx_deriving, ppxlib, repr, alcotest, hex }:
|
2021-01-12 18:49:44 +00:00
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "ppx_repr";
|
|
|
|
|
|
|
|
inherit (repr) src version useDune2;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ppx_deriving
|
2021-06-06 12:04:43 +01:00
|
|
|
ppxlib
|
|
|
|
repr
|
2021-01-12 18:49:44 +00:00
|
|
|
];
|
|
|
|
|
2022-01-23 20:24:16 +00:00
|
|
|
doCheck = false; # tests fail with ppxlib >= 0.23.0
|
2021-01-12 18:49:44 +00:00
|
|
|
checkInputs = [
|
|
|
|
alcotest
|
|
|
|
hex
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = repr.meta // {
|
|
|
|
description = "PPX deriver for type representations";
|
|
|
|
};
|
|
|
|
}
|