me
/
guix
Archived
1
0
Fork 0

gnu: Add tree-sitter-verilog.

* gnu/packages/tree-sitter.scm (tree-sitter-verilog): New variable.

Change-Id: I2066aff3cf39cebda956125cdac71236502a7ac5

Change-Id: If4acb8c10cd3942f46dcb05b8009760a6452b67a
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
master
Karl Hallsby 2024-05-10 11:26:46 -05:00 committed by Zheng Junjie
parent 40af021e28
commit 65186deae4
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0
1 changed files with 16 additions and 0 deletions

View File

@ -725,3 +725,19 @@ which will be used as a snippet in origin."
;; Version 0.7.1 would be most recent, but would require tree-sitter >= 0.21.0.
"0.6.2"
#:repository-url "https://github.com/Beaglefoot/tree-sitter-awk"))
(define-public tree-sitter-verilog
(let ((version "1.0.0") ; In package.json, but untagged
(commit "075ebfc84543675f12e79a955f79d717772dcef3")
(revision "0"))
(tree-sitter-grammar
"verilog" "Verilog"
"0j5iycqm5dmvzy7dssm8km1djhr7hnfgk26zyzcxanhrwwq3wi4k"
(git-version version revision commit)
#:commit commit
#:get-cleanup-snippet
(lambda _
#~(begin
(use-modules (guix build utils))
(delete-file "binding.gyp")
(delete-file-recursively "bindings"))))))