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