2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, menhir, easy-format, fetchFromGitHub, buildDunePackage, which, biniou, yojson }:
|
2017-06-27 18:10:25 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "atd";
|
2018-08-15 08:45:42 +00:00
|
|
|
version = "2.0.0";
|
|
|
|
|
2019-02-22 16:59:41 +00:00
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
|
2018-08-15 08:45:42 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mjambon";
|
2018-11-05 10:21:46 +00:00
|
|
|
repo = pname;
|
2018-08-15 08:45:42 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0alzmk97rxg7s6irs9lvf89dy9n3r769my5n4j9p9qyigcdgjaia";
|
2015-05-25 20:42:07 +00:00
|
|
|
};
|
|
|
|
|
2017-06-27 18:10:25 +00:00
|
|
|
createFindlibDestdir = true;
|
2015-05-25 20:42:07 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ which menhir ];
|
2018-08-15 08:45:42 +00:00
|
|
|
propagatedBuildInputs = [ easy-format biniou yojson ];
|
|
|
|
|
2015-05-25 20:42:07 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/mjambon/atd;
|
|
|
|
description = "Syntax for cross-language type definitions";
|
|
|
|
license = licenses.bsd3;
|
2018-08-15 08:45:42 +00:00
|
|
|
maintainers = with maintainers; [ aij jwilberding ];
|
2015-05-25 20:42:07 +00:00
|
|
|
};
|
|
|
|
}
|