aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2023-02-14 16:05:05 +0400
committerAndrew Tropin <andrew@trop.in>2023-02-14 17:08:32 +0400
commit429666b60003b6c0317d1a1e7e43e1641b23e20b (patch)
treedf023224a1a054978ffd8f7736c5fdd26e215d06 /gnu/packages
parent73bfb0ad9141c16dcc3e965e79f160de4e4bae9f (diff)
downloadguix-429666b60003b6c0317d1a1e7e43e1641b23e20b.tar
guix-429666b60003b6c0317d1a1e7e43e1641b23e20b.tar.gz
gnu: Add tree-sitter-python.
gnu/packages/tree-sitter.scm (tree-sitter-python): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tree-sitter.scm10
1 files changed, 10 insertions, 0 deletions
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)))