From patchwork Thu Aug 10 06:19:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 52706 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A9D7E27BBE9; Thu, 10 Aug 2023 07:23:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7CBB027BBE2 for ; Thu, 10 Aug 2023 07:23:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTz3r-0002Hw-Ma; Thu, 10 Aug 2023 02:22:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTz3e-0002Fa-5E for guix-patches@gnu.org; Thu, 10 Aug 2023 02:22:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTz3d-00050C-RW for guix-patches@gnu.org; Thu, 10 Aug 2023 02:22:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTz3d-0001LN-Kc for guix-patches@gnu.org; Thu, 10 Aug 2023 02:22:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64905] [PATCH v3 9/9] gnu: tree-sitter: Re-indent. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Aug 2023 06:22:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64905 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64905@debbugs.gnu.org Cc: Hilton Chain Received: via spool by 64905-submit@debbugs.gnu.org id=B64905.16916484935058 (code B ref 64905); Thu, 10 Aug 2023 06:22:05 +0000 Received: (at 64905) by debbugs.gnu.org; 10 Aug 2023 06:21:33 +0000 Received: from localhost ([127.0.0.1]:41101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTz37-0001JV-6g for submit@debbugs.gnu.org; Thu, 10 Aug 2023 02:21:33 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:35086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTz35-0001JN-EH for 64905@debbugs.gnu.org; Thu, 10 Aug 2023 02:21:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1691648487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nMqObgQeAAyL58MCH9eWG40FQcL1Pr0VTsm6mSov020=; b=Lljs5Cy+eZosGlZ8E+xpWxauAs8fXRkKMj3SerVbIUofJ75DvRhVlcWq+f7tE6bvtje4s6 NKQoefXtdTd93EwnpRygvoQCa+8P89JETf40ZIYrkLQKD1Qxe9nFLJJj3azNz2LUrIkkvA 9EuIiligepg+5f7PgXasn4qkXMul5DMPfhbt8BTPCOU/+sGmtmqCuav+fJ9rZ2coC3kUpc 3g9U7D0yqKsejN1kxpYfl6SllJPVrXBSU1mPu2zHEtuB6mK60et/PK3eDmWdZqPCEwWVBm 6iE9qpNUaZKB52ZImeyfxOh6cM0c6sI3WPriv3JmYRn+tkHSpCA0KrRwxjdauA== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Thu, 10 Aug 2023 14:19:45 +0800 Message-ID: <50053f6463f4f857fa3610643d97776215a8194d.1691647854.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 X-Spamd-Bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tree-sitter.scm (tree-sitter,tree-sitter-javascript) (tree-sitter-cpp,tree-sitter-go,tree-sitter-python): Re-indent. --- gnu/packages/tree-sitter.scm | 98 ++++++++++++++++++------------------ 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index a0d4705f22..9e2307af86 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -96,36 +96,36 @@ (define-public python-tree-sitter (define-public tree-sitter ;; Untagged (let ((commit "0e4ff0bb27edf37b76fc7d35aa768b02cf4392ad")) - (package - (name "tree-sitter") - (version "0.20.10") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/tree-sitter/tree-sitter") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1bai4gdhf8w5p1i9np2kl2ms0jq6rgq98qpiipipzayb9jjjlxcy")) - (modules '((guix build utils))) - (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)) - #:tests? #f ; there are no tests for the runtime library - #:make-flags - #~(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 - "Tree-sitter is a parser generator tool and an incremental parsing + (package + (name "tree-sitter") + (version "0.20.10") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bai4gdhf8w5p1i9np2kl2ms0jq6rgq98qpiipipzayb9jjjlxcy")) + (modules '((guix build utils))) + (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)) + #:tests? #f ; there are no tests for the runtime library + #:make-flags + #~(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 + "Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited. @@ -140,7 +140,7 @@ (define-public tree-sitter @end itemize This package includes the @code{libtree-sitter} runtime library.") - (license license:expat)))) + (license license:expat)))) (define-public tree-sitter-cli (package @@ -317,11 +317,11 @@ (define-public tree-sitter-javascript ;; Required by tree-sitter-typescript. (let ((commit "7a29d06274b7cf87d643212a433d970b73969016") (revision "14")) - (tree-sitter-grammar - "javascript" "JavaScript(JSX)" - "1pk6d9g6a7bzhxmwnvfiycarcgz76wq2rgfqr0xjh7y7swfw5hvw" - (git-version "0.20.0" revision commit) - #:commit commit))) + (tree-sitter-grammar + "javascript" "JavaScript(JSX)" + "1pk6d9g6a7bzhxmwnvfiycarcgz76wq2rgfqr0xjh7y7swfw5hvw" + (git-version "0.20.0" revision commit) + #:commit commit))) (define-public tree-sitter-typescript (tree-sitter-grammar @@ -355,11 +355,11 @@ (define-public tree-sitter-c "0.20.5")) (define-public tree-sitter-cpp - (tree-sitter-grammar - "cpp" "C++" - "0jbkbr93lb20syb39r9vbl10g1xgw8mlnib95k6ibz806a7b6qzl" - "0.20.2" - #:inputs (list tree-sitter-c))) + (tree-sitter-grammar + "cpp" "C++" + "0jbkbr93lb20syb39r9vbl10g1xgw8mlnib95k6ibz806a7b6qzl" + "0.20.2" + #:inputs (list tree-sitter-c))) (define-public tree-sitter-elixir ;; No tags at all, version in the source code is 0.19.0 @@ -409,10 +409,10 @@ (define-public tree-sitter-gomod #:repository-url "https://github.com/camdencheek/tree-sitter-go-mod.git")) (define-public tree-sitter-go - (tree-sitter-grammar - "go" "Go" - "0wlhwcdlaj74japyn8wjza0fbwckqwbqv8iyyqdk0a5jf047rdqv" - "0.20.0")) + (tree-sitter-grammar + "go" "Go" + "0wlhwcdlaj74japyn8wjza0fbwckqwbqv8iyyqdk0a5jf047rdqv" + "0.20.0")) (define-public tree-sitter-haskell ;; There are a lot of additions, the last tag was placed more than 4 years ago @@ -463,10 +463,10 @@ (define-public tree-sitter-php #:commit commit))) (define-public tree-sitter-python - (tree-sitter-grammar - "python" "Python" - "093q200v479j1p8dfjgzlydpzbn2qc1x2pglx9573m9ls4ga004d" - "0.20.3")) + (tree-sitter-grammar + "python" "Python" + "093q200v479j1p8dfjgzlydpzbn2qc1x2pglx9573m9ls4ga004d" + "0.20.3")) (define-public tree-sitter-r ;; No tags