abcdw pushed a commit to branch master
in repository guix.
commit 429666b60003b6c0317d1a1e7e43e1641b23e20b
Author: Andrew Tropin <[email protected]>
AuthorDate: Tue Feb 14 16:05:05 2023 +0400
gnu: Add tree-sitter-python.
gnu/packages/tree-sitter.scm (tree-sitter-python): New variable.
---
gnu/packages/tree-sitter.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 5774fe8adc..eb15bb99ad 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -375,3 +375,13 @@ will be used in description and synopsis."
"02yc5b3qps8ghsmy4b5m5kldyr5pnqz9yw663v13pnz92r84k14g"
(git-version "0.19.0" revision commit)
#:commit commit)))
+
+(define-public tree-sitter-python
+ ;; There are a lot of additions, the last tag was placed a while ago
+ (let ((commit "9e53981ec31b789ee26162ea335de71f02186003")
+ (revision "0"))
+ (tree-sitter-grammar
+ "python" "Python"
+ "1lv3pgb7h2a0f121897r0lwc228rjwb77y3a6g3ghifx1rgbwvqg"
+ (git-version "0.20.0" revision commit)
+ #:commit commit)))