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