2021-07-15 07:52:14 +00:00
|
|
|
{ lib, buildDunePackage, ppx_deriving, ppxlib, repr, alcotest, hex }:
|
2021-01-12 18:49:44 +00:00
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "ppx_repr";
|
|
|
|
|
2022-10-11 06:50:54 +00:00
|
|
|
inherit (repr) src version strictDeps;
|
2023-02-27 12:14:03 +00:00
|
|
|
duneVersion = "3";
|
2021-01-12 18:49:44 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ppx_deriving
|
2021-06-06 11:04:43 +00: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
|
2022-03-01 15:42:22 +00:00
|
|
|
checkInputs = [
|
2021-01-12 18:49:44 +00:00
|
|
|
alcotest
|
|
|
|
hex
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = repr.meta // {
|
|
|
|
description = "PPX deriver for type representations";
|
|
|
|
};
|
|
|
|
}
|