gnu: Add tree-sitter-python.

gnu/packages/tree-sitter.scm (tree-sitter-python): New variable.
This commit is contained in:
Andrew Tropin 2023-02-14 16:05:05 +04:00
parent 73bfb0ad91
commit 429666b600
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -375,3 +375,13 @@ (define-public tree-sitter-php
"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)))