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