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
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "atd";
|
2022-04-23 08:50:39 +00:00
|
|
|
inherit (atdgen-codec-runtime) version src;
|
2021-02-18 21:36:28 +00:00
|
|
|
|
2022-04-23 08:50:39 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2015-05-25 20:42:07 +00:00
|
|
|
|
2022-07-02 04:31:40 +00:00
|
|
|
nativeBuildInputs = [ menhir ];
|
|
|
|
propagatedBuildInputs = [ easy-format re yojson ];
|
2021-02-18 21:36:28 +00:00
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2021-04-03 22:30:47 +00:00
|
|
|
passthru.tests = {
|
|
|
|
smoke-test = nixosTests.atd;
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-05-25 20:42:07 +00:00
|
|
|
description = "Syntax for cross-language type definitions";
|
2022-05-13 23:48:49 +00:00
|
|
|
homepage = "https://github.com/mjambon/atd";
|
2022-04-23 08:50:39 +00:00
|
|
|
license = licenses.mit;
|
2022-06-22 23:26:43 +00:00
|
|
|
maintainers = with maintainers; [ aij ];
|
2022-05-13 23:48:49 +00:00
|
|
|
mainProgram = "atdcat";
|
2015-05-25 20:42:07 +00:00
|
|
|
};
|
|
|
|
}
|