567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
30 lines
619 B
Nix
30 lines
619 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildDunePackage,
|
|
ocaml-migrate-parsetree,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ppx_tools_versioned";
|
|
version = "5.4.0";
|
|
|
|
duneVersion = "3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocaml-ppx";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "07lnj4yzwvwyh5fhpp1dxrys4ddih15jhgqjn59pmgxinbnddi66";
|
|
};
|
|
|
|
propagatedBuildInputs = [ ocaml-migrate-parsetree ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/let-def/ppx_tools_versioned";
|
|
description = "Tools for authors of syntactic tools (such as ppx rewriters)";
|
|
license = lib.licenses.gpl2;
|
|
maintainers = [ ];
|
|
};
|
|
}
|