2022-04-27 09:35:20 +00:00
|
|
|
{ buildDunePackage, alcotest, atd, atdgen-codec-runtime, atdgen-runtime, biniou, re, yojson }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "atdgen";
|
2022-04-27 09:35:20 +00:00
|
|
|
inherit (atdgen-codec-runtime) version src;
|
|
|
|
|
|
|
|
buildInputs = [ atd re ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
propagatedBuildInputs = [ atdgen-runtime ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [ alcotest atdgen-codec-runtime ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
meta = atd.meta // {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Generates efficient JSON serializers, deserializers and validators";
|
|
|
|
};
|
|
|
|
}
|