2019-08-23 18:51:53 +01:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml-migrate-parsetree }:
|
2017-04-08 12:34:41 +01:00
|
|
|
|
2019-08-23 18:51:53 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ppx_tools_versioned";
|
2020-11-28 20:39:11 +00:00
|
|
|
version = "5.4.0";
|
2017-04-08 12:34:41 +01:00
|
|
|
|
2021-01-01 14:28:06 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2017-04-08 12:34:41 +01:00
|
|
|
src = fetchFromGitHub {
|
2019-08-23 18:51:53 +01:00
|
|
|
owner = "ocaml-ppx";
|
|
|
|
repo = pname;
|
2017-04-08 12:34:41 +01:00
|
|
|
rev = version;
|
2020-11-28 20:39:11 +00:00
|
|
|
sha256 = "07lnj4yzwvwyh5fhpp1dxrys4ddih15jhgqjn59pmgxinbnddi66";
|
2017-04-08 12:34:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ocaml-migrate-parsetree ];
|
|
|
|
|
2019-08-23 18:51:53 +01:00
|
|
|
meta = with lib; {
|
2020-03-08 20:32:58 +00:00
|
|
|
homepage = "https://github.com/let-def/ppx_tools_versioned";
|
2017-04-08 12:34:41 +01:00
|
|
|
description = "Tools for authors of syntactic tools (such as ppx rewriters)";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.volth ];
|
|
|
|
};
|
|
|
|
}
|