Files
nixpkgs/pkgs/development/ocaml-modules/atd/default.nix
T
Vincent Laporte eec6d815c9 ocamlPackages.yojson: 2.2.2 → 3.0.0
ocamlPackages.atdgen-codec-runtime: 2.16.0 → 3.0.1
2025-12-12 06:35:52 +01:00

37 lines
639 B
Nix

{
lib,
atdgen-codec-runtime,
cmdliner,
menhir,
easy-format,
buildDunePackage,
re,
yojson,
nixosTests,
}:
buildDunePackage {
pname = "atd";
inherit (atdgen-codec-runtime) version src;
nativeBuildInputs = [ menhir ];
buildInputs = [ cmdliner ];
propagatedBuildInputs = [
easy-format
re
yojson
];
passthru.tests = {
smoke-test = nixosTests.atd;
};
meta = {
description = "Syntax for cross-language type definitions";
homepage = "https://github.com/mjambon/atd";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ aij ];
mainProgram = "atdcat";
};
}