mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
27 lines
658 B
Nix
27 lines
658 B
Nix
{ lib, atdgen-codec-runtime, menhir, easy-format, buildDunePackage, which, re, nixosTests }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "atd";
|
|
inherit (atdgen-codec-runtime) version src;
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
nativeBuildInputs = [ which menhir ];
|
|
buildInputs = [ re ];
|
|
propagatedBuildInputs = [ easy-format ];
|
|
|
|
strictDeps = true;
|
|
|
|
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 jwilberding ];
|
|
mainProgram = "atdcat";
|
|
};
|
|
}
|