biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / grep-ast / default.nix
blob01d164bacdc135b3881b8006e6f7316bc9b473fe
2   buildPythonPackage,
3   fetchPypi,
4   lib,
6   pathspec,
7   pytestCheckHook,
8   setuptools,
9   tree-sitter-languages,
12 buildPythonPackage rec {
13   pname = "grep-ast";
14   version = "0.3.3";
15   pyproject = true;
17   src = fetchPypi {
18     inherit version;
19     pname = "grep_ast";
20     hash = "sha256-QriIfVcwHcVWNDaPjVSenEnJE9r7TRnJtUw922BPzPQ=";
21   };
23   build-system = [ setuptools ];
25   dependencies = [
26     pathspec
27     tree-sitter-languages
28   ];
30   nativeCheckInputs = [ pytestCheckHook ];
32   pythonImportsCheck = [ "grep_ast" ];
34   meta = {
35     homepage = "https://github.com/paul-gauthier/grep-ast";
36     license = lib.licenses.asl20;
37     maintainers = with lib.maintainers; [ greg ];
38     description = "Python implementation of the ast-grep tool";
39     mainProgram = "grep-ast";
40   };