python3Packages.tree-sitter-bash: init at 0.25.1
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
tree-sitter,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "tree-sitter-bash";
|
||||
version = "0.25.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-bash";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ONQ1Ljk3aRWjElSWD2crCFZraZoRj3b3/VELz1789GE=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
core = [
|
||||
tree-sitter
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "tree_sitter_bash" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
tree-sitter
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Bash grammar for tree-sitter";
|
||||
homepage = "https://github.com/tree-sitter/tree-sitter-bash";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
})
|
||||
@@ -19353,6 +19353,8 @@ self: super: with self; {
|
||||
|
||||
tree-sitter = callPackage ../development/python-modules/tree-sitter { };
|
||||
|
||||
tree-sitter-bash = callPackage ../development/python-modules/tree-sitter-bash { };
|
||||
|
||||
tree-sitter-c-sharp = callPackage ../development/python-modules/tree-sitter-c-sharp { };
|
||||
|
||||
tree-sitter-embedded-template =
|
||||
|
||||
Reference in New Issue
Block a user