From 1378bb5348cc0f4bec796ccf1a2632f08e42cb09 Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Thu, 9 Feb 2023 12:33:28 +0400 Subject: gnu: tree-sitter: Update package style. * gnu/packages/tree-sitter.scm (tree-sitter): Add gexps, remove trailing #t, reformat code. --- gnu/packages/tree-sitter.scm | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index e6f0b5c71d..b0d4bb1c38 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -40,22 +40,19 @@ (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 @@ Tree-sitter aims to be: 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))) -- cgit v1.2.3