Files
Vincent Laporte a9f0eef3a0 ocamlPackages.atd: 4.0.0 → 4.1.0
ocamlPackages.atd-jsonlike: init at 4.1.0
ocamlPackages.atd-yamlx: init at 4.1.0
2026-04-16 06:51:03 +02:00

46 lines
702 B
Nix

{
lib,
buildDunePackage,
ocaml,
alcotest,
atd,
atd-jsonlike,
atd-yamlx,
atdgen-codec-runtime,
atdgen-runtime,
atdml,
biniou,
re,
yamlx,
}:
buildDunePackage {
pname = "atdgen";
inherit (atdgen-codec-runtime) version src;
buildInputs = [
atd
re
];
propagatedBuildInputs = [ atdgen-runtime ];
doCheck = lib.versionAtLeast ocaml.version "4.14";
nativeCheckInputs = [
atd
atdml
biniou
];
checkInputs = [
alcotest
atdgen-codec-runtime
yamlx
atd-jsonlike
atd-yamlx
];
meta = (removeAttrs atd.meta [ "mainProgram" ]) // {
description = "Generates efficient JSON serializers, deserializers and validators";
};
}