From patchwork Thu Oct 19 15:44:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 55047 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 9C28727BBE9; Thu, 19 Oct 2023 16:48:51 +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 118EF27BBE2 for ; Thu, 19 Oct 2023 16:48:51 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtVFO-0008Aq-Gp; Thu, 19 Oct 2023 11:47:42 -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 1qtVFM-00089G-6K for guix-patches@gnu.org; Thu, 19 Oct 2023 11:47:40 -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 1qtVFL-0007l3-UZ for guix-patches@gnu.org; Thu, 19 Oct 2023 11:47:39 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtVFl-00065p-MW; Thu, 19 Oct 2023 11:48:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64905] [PATCH v5 10/10] gnu: tree-sitter: Re-indent. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: hako@ultrarare.space, mail@cbaines.net, andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Thu, 19 Oct 2023 15:48: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 , Hilton Chain , Christopher Baines , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Hilton Chain , Christopher Baines , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 64905-submit@debbugs.gnu.org id=B64905.169773047623313 (code B ref 64905); Thu, 19 Oct 2023 15:48:05 +0000 Received: (at 64905) by debbugs.gnu.org; 19 Oct 2023 15:47:56 +0000 Received: from localhost ([127.0.0.1]:37587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtVFb-00063x-RA for submit@debbugs.gnu.org; Thu, 19 Oct 2023 11:47:56 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:35412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtVFa-00063p-Db for 64905@debbugs.gnu.org; Thu, 19 Oct 2023 11:47:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1697730302; 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=K6K2q2UfOIo5gOY06Z+qHkcQKa7ChSfDK73UBADahl4=; b=qJZsz2WDlWlE178XPP3FmZPN8+zBHUxm1Nus9DJDCJAXmdhe3b5/F/UQnbf8x/1UdVb99L SkVpQ+WExiOOhbWj7FHoEH6pIq2nDqWZbTvZrmJO+9NTDkv2q6rVMMeb/GUpnLqLZFSQkW HTiqivZb/Jj6u3jXJ1mKts/cO2lKvXpGcodA5EY2NZqba5Ap0REFxNCgbpmg3ckm645fIB LRLs/YUqkA+o0qqaliuzAMKM2nsuQ5+cR5txrGzf1ODiuhcCOZ6u9kZcQqKNd7GJilhk5Y bKHR9KZXNlrADE4pSy9MP7FoNWSN2Zocr4IbquivWA428bm6MdBcTP/f+rOTgg== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Thu, 19 Oct 2023 23:44:36 +0800 Message-ID: <9490a104a4bbdf9743fe9cde975e4204dc620eb9.1697729704.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-javascript,tree-sitter-cpp) (tree-sitter-elixir,tree-sitter-go,tree-sitter-python): Re-indent. --- gnu/packages/tree-sitter.scm | 82 ++++++++++++++++++------------------ 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 057d853dd3..41257d42f1 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -320,26 +320,26 @@ (define-public tree-sitter-javascript ;; Commit required by tree-sitter-typescript 0.20.3. (let ((commit "f772967f7b7bc7c28f845be2420a38472b16a8ee") (revision "22")) - (tree-sitter-grammar - "javascript" "JavaScript(JSX)" - "0vp7z57scpbcvyxpya06lnpz9f5kjdb66wjlkrp684xwjjgq1wxd" - (git-version "0.20.0" revision commit) - #:commit commit - #:get-cleanup-snippet - (lambda (grammar-directories) - #~(begin - (use-modules (guix build utils)) - (delete-file "tree-sitter-javascript.wasm") - (delete-file "binding.gyp") - (delete-file-recursively "bindings") - (for-each - (lambda (lang) - (with-directory-excursion lang - (delete-file "src/grammar.json") - (delete-file "src/node-types.json") - (delete-file "src/parser.c") - (delete-file-recursively "src/tree_sitter"))) - '#$grammar-directories)))))) + (tree-sitter-grammar + "javascript" "JavaScript(JSX)" + "0vp7z57scpbcvyxpya06lnpz9f5kjdb66wjlkrp684xwjjgq1wxd" + (git-version "0.20.0" revision commit) + #:commit commit + #:get-cleanup-snippet + (lambda (grammar-directories) + #~(begin + (use-modules (guix build utils)) + (delete-file "tree-sitter-javascript.wasm") + (delete-file "binding.gyp") + (delete-file-recursively "bindings") + (for-each + (lambda (lang) + (with-directory-excursion lang + (delete-file "src/grammar.json") + (delete-file "src/node-types.json") + (delete-file "src/parser.c") + (delete-file-recursively "src/tree_sitter"))) + '#$grammar-directories)))))) (define-public tree-sitter-typescript (tree-sitter-grammar @@ -373,11 +373,11 @@ (define-public tree-sitter-c "0.20.6")) (define-public tree-sitter-cpp - (tree-sitter-grammar - "cpp" "C++" - "0fsb6la0da3azh7m9p1w3w079bpg6074dy8jisjw1yq1w1r9grxy" - "0.20.3" - #:inputs (list tree-sitter-c))) + (tree-sitter-grammar + "cpp" "C++" + "0fsb6la0da3azh7m9p1w3w079bpg6074dy8jisjw1yq1w1r9grxy" + "0.20.3" + #:inputs (list tree-sitter-c))) (define-public tree-sitter-cmake (tree-sitter-grammar @@ -390,14 +390,14 @@ (define-public tree-sitter-elixir ;; No tags at all, version in the source code is 0.19.0 (let ((commit "b20eaa75565243c50be5e35e253d8beb58f45d56") (revision "0")) - (tree-sitter-grammar - "elixir" "Elixir" - "1i0c0xki3sv24649p0ws7xs2jagbwg7z7baz1960239bj94nl487" - (git-version "0.19.0" revision commit) - #:article "an" - #:repository-url "https://github.com/elixir-lang/tree-sitter-elixir" - #:commit commit - #:license (list license:asl2.0 license:expat)))) + (tree-sitter-grammar + "elixir" "Elixir" + "1i0c0xki3sv24649p0ws7xs2jagbwg7z7baz1960239bj94nl487" + (git-version "0.19.0" revision commit) + #:article "an" + #:repository-url "https://github.com/elixir-lang/tree-sitter-elixir" + #:commit commit + #:license (list license:asl2.0 license:expat)))) (define-public tree-sitter-heex (tree-sitter-grammar @@ -441,10 +441,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 @@ -495,10 +495,10 @@ (define-public tree-sitter-php #:commit commit))) (define-public tree-sitter-python - (tree-sitter-grammar - "python" "Python" - "1sxz3npk3mq86abcnghfjs38nzahx7nrn3wdh8f8940hy71d0pvi" - "0.20.4")) + (tree-sitter-grammar + "python" "Python" + "1sxz3npk3mq86abcnghfjs38nzahx7nrn3wdh8f8940hy71d0pvi" + "0.20.4")) (define-public tree-sitter-r ;; No tags