depot/third_party/nixpkgs/pkgs/development/ocaml-modules/atd/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

25 lines
627 B
Nix

{ lib, atdgen-codec-runtime, menhir, easy-format, buildDunePackage, re, yojson, nixosTests }:
buildDunePackage rec {
pname = "atd";
inherit (atdgen-codec-runtime) version src;
minimalOCamlVersion = "4.08";
nativeBuildInputs = [ menhir ];
propagatedBuildInputs = [ easy-format re yojson ];
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 ];
mainProgram = "atdcat";
};
}