From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2AjUEziwD2KtrAAAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 15:42:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YLhnDDiwD2LOWgEAG6o9tA (envelope-from ) for ; Fri, 18 Feb 2022 15:42:00 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C027A33B79 for ; Fri, 18 Feb 2022 15:41:59 +0100 (CET) Received: from localhost ([::1]:58956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL4SL-0006Eq-VY for larch@yhetil.org; Fri, 18 Feb 2022 09:41:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL4RU-0005Ui-Ok for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nL4RU-0005RD-Fj for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nL4RU-0008Ux-Di for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v4 08/31] gnu: Add tree-sitter-bash. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Feb 2022 14:41:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49946 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49946@debbugs.gnu.org Cc: Pierre Langlois Received: via spool by 49946-submit@debbugs.gnu.org id=B49946.164519521332453 (code B ref 49946); Fri, 18 Feb 2022 14:41:04 +0000 Received: (at 49946) by debbugs.gnu.org; 18 Feb 2022 14:40:13 +0000 Received: from localhost ([127.0.0.1]:53786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4Qe-0008RD-Ug for submit@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:13 -0500 Received: from mout.gmx.net ([212.227.17.21]:56625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4QU-0008NU-Bw for 49946@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645195196; bh=UyZLKXnSl3H/JZBo7Pu3i8tuXPtRKjonSjHWh59fzm8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=FUc6yGF41u+GH0r8ImgVWrpyifysR4WXKif8vwfOyj2cYUnbLUisV7+kskvgppphi w9B2CQr7Rk06Q9TIhSagIt4v5aadaleWxPKnpr+3kJz3nRgaw+f186/zgXrwvHOiSe 1BifBKgiy+ilfWrsQBW09tWg8RbZLlgGNx3QdESI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N0G1n-1oEHZT267T-00xLPe; Fri, 18 Feb 2022 15:39:56 +0100 From: Pierre Langlois Date: Fri, 18 Feb 2022 14:39:25 +0000 Message-Id: <20220218143948.28989-8-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220218143948.28989-1-pierre.langlois@gmx.com> References: <877d9s2qa9.fsf@gmx.com> <20220218143948.28989-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:mrxxniW3giwxxHSn679avmaNDQvfW42vFXnLJFaAK0ovXcVtMuR zlIYfWbcmJ3qVv8DZNcBQVDk0Izma8TSadlxeVt45XZcl3xbpZpuKpKggD1Vh82i49TIZIP o5oOZQbgXSGiqGXCY0X6QDLlrETL9spvxlrXlCGvsVxh8XF8kISpBe+TlNyojK9EHbw9ofG InwzEymco80Ansvpufdmw== X-UI-Out-Filterresults: notjunk:1;V03:K0:XmnZCQPO8s0=:gyWreAmzJQI3qGx7SSQIAY A++7fC19RZDcs72jUG/HMtQJiDGxdtKU2W97tUT2CULxd+Ytrg/is6UVasbcFljUZ8nKv7x7o LO5K9P13eFp3GEWLHon6Uc7dA4Gtw48hjMApDyLiBnAqYP/ouKCBToMT7uFd5m0Hp+t6BBGLh eGh95IcuXZCIR1tV20D6KgLTKq+leBsIMbYGAuAWhbZ8Z6pHKrgQIzD/og9vpapDcPGkjoLWb YRaXkmWyMTd/Bm6iwO927i0AtJW/wuqox9U7b+n3uE2ubxgEc7vidX1ccCGi8x5SLEwLi1nw+ //O2N7etpMZXSwD8NGTGgI0cTCquEOSCIHYc5YKDIEgfxM5ktbCpvAQDSWUN8mg0XBPHbVdhD Bnf4ISsG3xNHHUsTq5F3STsqPwkWalRCF8gFOQk7EEnTZckKOQiLrtATrCpGBQI09smx5LJrR F4eW97VYhb+lCijw/crPz+iQsc5Cd1U2L6rNf4cVxQ6zemVzEJo7ATPMk+0RoX7PYLhQDwFMw 0XRhyVUOJdvvlzX3WYApyu/pLnEQ0hrTyg4HIEsVSplqguD24I8w5x34zgznqMs5ffBqWlKdk CeHIxTzzAqnAyLv2GkAgLnnapwIo+E8xeJhQRaG0lDawRkeIRmuynaEA+CTkrTO+Uwd/A9ilE WlvmsV6EPiwkVoIS+EiY+qPWLryG3Qwf3WJ3hU/kwHpykVZ3/QhNbL48pXsh/CF1IH5mpxvRa t7sYmfh8tbS6A7P4iyHEQqFVJ+npA3gCdPB2HZI2GKxKtfD/EC9qCoXHM+RgN6ALT59ntzZR5 tE0jPUvkr1Gt9rJH1CIhkwFKsZZdNWAy7t+BGCTxZONrztsSTuCMWwE1PeiuZWwg6SL89mz9a eyfMoxYVo5HMzXnXEH4oiuYJnuod89YwKXs+nFUhjWCSlMM/SFia7XBrqqaKzYaEDd0ed8afJ 4xIIrg6pYT8wGfi7z2Jnpr25BUFKaWk8ssCFOwRh5t54DZTipd0KuZSF0kkwzaPFtySowX2co 8Y41JoLlPPX4uZXAZfBfxxvmkYcT8ZYkVWn7vIpgXQJFpUbYcS2al8HM1y/PxEu2loVcfNg6J mL5unfacZpSF5Y= 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645195319; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+ryIO5x9vejfSSxvq7R+3qcTBixCfzHfrOxXAAxu4vc=; b=jbOs9o/avTP3E7qkx9EXc6/UFxfG9UG9avbTKYLSDBKD+Dd74JK7MIhz2y9DwoUfk1DD1r ATJzkfeqZRa6Zw0TlOtjcWb/5aZKAo6n9VKK4t7Mq+ejX+cvxAIhWp/b2e5I9yQz4kbwRL PglKnPoRoJBq0AMiix7jVeGs4B/oBMgNy0uq/sD2TjsIASjdsg8rNYq24W4xrigrmCkIW8 ovYd2+7pB4qjtBXpK4Da4BtCIkda/lH3eATwBI/C6p1Pko6Zd0qs188jFvBA6z4h9STudU AjysUXbEQ+AqqO0+P5OzCMq8Q1MIO+2EjbvHnOE46MgYwC99XiFnvNooVOukzw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645195319; a=rsa-sha256; cv=none; b=g9ULqkPMQ7RUqZ/dGpMjAofAzTCxqW2diVZRsnH5k6nEOm8I8TXCNCwhnmHJqw94RfTAhw v7UgEGZY1HPV6gvNNBQMyrLZtQ8Rx58R/5uYA1pgtc0unslUQnSnThVwrdQeuo1Y2fEsKr +60SnaRTBOW4Fit0hv71HHwdy2nWzAx3FqLe3w6G7xTQ2mYMURPzD7H6KUq69ZELIwLArx bF8vzEhdlf13QB9RtMEj/VQ6ieEP0QoI4GwLHdzG31QFdnB3oLzDtVAVh3ehNY4GJa6VWx CDghsoG7rinXCeCSX2RuHQ+MwMJD2vsNNoDL6Ja/ZsQOhap/jPjE098B/QHkKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=FUc6yGF4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=FUc6yGF4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C027A33B79 X-Spam-Score: -1.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: V4oJMuPnkujf * gnu/packages/tree-sitter.scm (tree-sitter-bash): New variable. =2D-- gnu/packages/tree-sitter.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index e82c6e60a9..8f12559dde 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -267,3 +267,35 @@ (define-public tree-sitter-cpp (description "This package provides a C++ grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-bash + (package (inherit tree-sitter-c) + (name "tree-sitter-bash") + (version "0.19.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-bash= ") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "18c030bb65r50i6z37iy7jb9z9i8i36y7b08dbc9bchdifqsijs5")) + (modules '((guix build utils))) + (snippet tree-sitter-delete-generated-files))) + (arguments + (substitute-keyword-arguments (package-arguments tree-sitter-c) + ((#:phases phases) + `(modify-phases ,phases + (replace 'delete-dependencies + (lambda _ + (delete-dependencies '("tree-sitter-cli" + "nan" + "node-gyp" + "prebuild" + "prebuild-install")))))))) + (home-page "https://github.com/tree-sitter/tree-sitter-bash") + (synopsis "Tree-sitter Bash grammar") + (description + "This package provides a Bash grammar for the Tree-sitter library."= ) + (license license:expat))) =2D- 2.34.0