mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: tree-sitter: Update package style.
* gnu/packages/tree-sitter.scm (tree-sitter): Add gexps, remove trailing #t, reformat code.
This commit is contained in:
parent
8f9edc9ebc
commit
1378bb5348
1 changed files with 8 additions and 12 deletions
|
@ -40,22 +40,19 @@ (define-public tree-sitter
|
|||
(base32
|
||||
"1nv2a2hr22w8ix71b6rkkxv9rfvhvwlmyql0g6lva9qzj4vy50p4"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet '(begin
|
||||
;; Remove bundled ICU parts
|
||||
(delete-file-recursively "lib/src/unicode")
|
||||
#t))))
|
||||
(snippet #~(begin
|
||||
;; Remove bundled ICU parts
|
||||
(delete-file-recursively "lib/src/unicode")))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs (list icu4c))
|
||||
(arguments
|
||||
(list #:phases
|
||||
'(modify-phases %standard-phases
|
||||
(delete 'configure))
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'configure))
|
||||
#:tests? #f ; there are no tests for the runtime library
|
||||
#:make-flags
|
||||
#~(list (string-append "PREFIX="
|
||||
#$output)
|
||||
(string-append "CC="
|
||||
#$(cc-for-target)))))
|
||||
#~(list (string-append "PREFIX=" #$output)
|
||||
(string-append "CC=" #$(cc-for-target)))))
|
||||
(home-page "https://tree-sitter.github.io/tree-sitter/")
|
||||
(synopsis "Incremental parsing system for programming tools")
|
||||
(description
|
||||
|
@ -73,6 +70,5 @@ (define-public tree-sitter
|
|||
can be embedded in any application
|
||||
@end itemize
|
||||
|
||||
This package includes the @code{libtree-sitter} runtime library.
|
||||
")
|
||||
This package includes the @code{libtree-sitter} runtime library.")
|
||||
(license license:expat)))
|
||||
|
|
Loading…
Reference in a new issue