2017-04-08 13:34:41 +02:00
|
|
|
{ stdenv, buildOcaml, fetchFromGitHub, ocaml-migrate-parsetree }:
|
|
|
|
|
|
|
|
buildOcaml rec {
|
|
|
|
name = "ppx_tools_versioned";
|
2017-06-15 14:52:14 +02:00
|
|
|
version = "5.0.1";
|
2017-04-08 13:34:41 +02:00
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.02";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "let-def";
|
|
|
|
repo = "ppx_tools_versioned";
|
|
|
|
rev = version;
|
2017-06-15 14:52:14 +02:00
|
|
|
sha256 = "1rpbxbhk3k7f61h7lr4qkllkc12gjpq0rg52q7i6hcrg2dxkhwh6";
|
2017-04-08 13:34:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ocaml-migrate-parsetree ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/let-def/ppx_tools_versioned;
|
|
|
|
description = "Tools for authors of syntactic tools (such as ppx rewriters)";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.volth ];
|
|
|
|
};
|
|
|
|
}
|