2021-03-09 03:18:52 +00:00
|
|
|
{ lib, menhir, easy-format, fetchurl, buildDunePackage, which, re }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "atd";
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "2.2.1";
|
|
|
|
|
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ahrefs/atd/releases/download/2.2.1/atd-2.2.1.tbz";
|
|
|
|
sha256 = "17jm79np69ixp53a4njxnlb1pg8sd1g47nm3nyki9clkc8d4qsyv";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ which menhir ];
|
2021-03-09 03:18:52 +00:00
|
|
|
propagatedBuildInputs = [ easy-format re ];
|
|
|
|
|
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/mjambon/atd";
|
|
|
|
description = "Syntax for cross-language type definitions";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ aij jwilberding ];
|
|
|
|
};
|
|
|
|
}
|