python312Packages.grep-ast: init at 0.3.3

This commit is contained in:
Greg Hellings
2024-08-03 17:05:13 -05:00
parent f97a1c5460
commit ebf0719c65
2 changed files with 43 additions and 0 deletions
@@ -0,0 +1,41 @@
{
buildPythonPackage,
fetchPypi,
lib,
pathspec,
pytestCheckHook,
setuptools,
tree-sitter-languages,
}:
buildPythonPackage rec {
pname = "grep-ast";
version = "0.3.3";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "grep_ast";
hash = "sha256-QriIfVcwHcVWNDaPjVSenEnJE9r7TRnJtUw922BPzPQ=";
};
build-system = [ setuptools ];
dependencies = [
pathspec
tree-sitter-languages
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "grep_ast" ];
meta = {
homepage = "https://github.com/paul-gauthier/grep-ast";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ greg ];
description = "Python implementation of the ast-grep tool";
mainProgram = "grep-ast";
};
}
+2
View File
@@ -5295,6 +5295,8 @@ self: super: with self; {
gremlinpython = callPackage ../development/python-modules/gremlinpython { };
grep-ast = callPackage ../development/python-modules/grep-ast { };
greynoise = callPackage ../development/python-modules/greynoise { };
growattserver = callPackage ../development/python-modules/growattserver { };