nixpkgs/pkgs/development/ocaml-modules/atd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
627 B
Nix
Raw Normal View History

2022-07-02 04:31:40 +00:00
{ lib, atdgen-codec-runtime, menhir, easy-format, buildDunePackage, re, yojson, nixosTests }:
2017-06-27 18:10:25 +00:00
buildDunePackage rec {
pname = "atd";
inherit (atdgen-codec-runtime) version src;
2021-02-18 21:36:28 +00:00
minimalOCamlVersion = "4.08";
2022-07-02 04:31:40 +00:00
nativeBuildInputs = [ menhir ];
propagatedBuildInputs = [ easy-format re yojson ];
2021-02-18 21:36:28 +00:00
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";
};
}