From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sGMMHGaYBWI7RgEAgWs5BA (envelope-from ) for ; Thu, 10 Feb 2022 23:57:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OKDHFGaYBWLTagAAG6o9tA (envelope-from ) for ; Thu, 10 Feb 2022 23:57:42 +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 15CD533CDC for ; Thu, 10 Feb 2022 23:57:42 +0100 (CET) Received: from localhost ([::1]:40490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIINh-000122-8n for larch@yhetil.org; Thu, 10 Feb 2022 17:57:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIIM8-0007jx-TF for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIIM8-0006Jc-K4 for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIIM8-0000xD-Ji for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [WIP PATCH v3 08/26] gnu: Add tree-sitter-bash. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 22:56: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.16445337513555 (code B ref 49946); Thu, 10 Feb 2022 22:56:04 +0000 Received: (at 49946) by debbugs.gnu.org; 10 Feb 2022 22:55:51 +0000 Received: from localhost ([127.0.0.1]:57524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIILv-0000vA-CP for submit@debbugs.gnu.org; Thu, 10 Feb 2022 17:55:51 -0500 Received: from mout.gmx.net ([212.227.17.20]:48171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIILj-0000s0-3O for 49946@debbugs.gnu.org; Thu, 10 Feb 2022 17:55:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644533733; bh=0jdkL0rGf+woMVGkS9xJK9xeOejnQWGCXlwCLoJyOwQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=NQ73XmIHNxGjJJUfTe/FlSBMiEiryXm3ohRGhEyRgeksNbb4asc62GcezuJliqLvd DBy+cJ+Tu7mon97jXm/4fYh7Kx+AxK95DHOqdLHSn4ekjR4lZk5oU+QTsIRIE+EHi7 qmzBzToKUv6P+zAzw3/x+n0LVYZqlhbc1VaG5/1w= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MnakX-1nyo9w0xBF-00jZa6; Thu, 10 Feb 2022 23:55:33 +0100 From: Pierre Langlois Date: Thu, 10 Feb 2022 22:55:09 +0000 Message-Id: <20220210225527.25189-8-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220210225527.25189-1-pierre.langlois@gmx.com> References: <87leyinxly.fsf@gmx.com> <20220210225527.25189-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:FJ+JV8rp2PgnTFYLkfS/vd8UHBuf+1JqDvqLYfbdjYZ+2Si8udb +ZDL0Wh329niVoU1rOtgAqIxT4dvtHrOmRhk4+5dZJkjudL01JPMEvKqjU6jfmGFBaLpoJy ShSgm6/G1fUU2tGbqR2t1MesSRcBbpCl4NZaIzA7tyzV2luaUxe8To5sus+4T7uECh+tNeG kjhkjruodM1zusgW1YdEw== X-UI-Out-Filterresults: notjunk:1;V03:K0:+A0CzSwcrSk=:AdulMcSJqJbIkggbSM6V4h FWpMflumg54hd4FQk1w9b2iREAnvye7eCMVlm4KtAIWmGSU17673N6orKtQtgQ6L6Vwns07d8 hUJC9qnnUfvYJ/ol4c19B9NahiK2YYzERHMf5vd9RRDsxXJRCd0Y+1Zfyk9dR76hlJboRdarv a/ESsVSreqSVzviKBkRvGTPZ2F64GxzFn/7/01ClbXX1CA1rRgLeVe/+4zbuQqzF4Tu55xC35 DbgVJgIKefItspPiHmv15irybALee3Z2hLREs4LwXWpsxeslsocgpF0OytwnCc0ytpzYVjTtc oxbxAh1f2HjW5qUBFPVDZnYslYEQXhHhbY6WPme8lrwY6PoCgJuPWeeeHDnoeb+bMpGIKtNLx Mqx1/ZMYR3rQ04k5bxsCgXWszdwpVkb42aUKiXZzVnqKu8L1wUmX8V2ESOAmXRPkMgeK8hLfv PP8WfUXczyf3ZTm8S/Qmghu5k/KkqXzHye4zYHgxtS5ktNC/C/9PwpWlXEfNB6cGWUDNvTRQy dyO9xJ8RMlweg50ivsOIGjWOM7wlSRlgTOaKF4Sw01vL4h4339ARxAQdbziKIrTkJV8t/w/NM 90pYVPIl+VxI7XrSDRNU2Se7/Xiwu+qxlcb9qflkEC4guJ48IKLlgT8qlKKKFOFsSY4LL/iiD olY9/MlmzjvShB2Mr4uWbQ+wG5iiCGsaHlEVbH6o8qMgURFlSIUCOPN+vsswvNXXk5SFjyDfA jBh2bJSTOcdIeOA6ptKHNZ0Q8MPytA/1mqGtSw9zlifsRK5FjZ8BVga91BbFCGj+3fWQacb3U CiY6LodCdIV+0h+l3KATGeOIsA88FiB/BM+8GbrtInYZxxnMKwdo6QHzsvYBWh0iECCcTPVnZ 7mDMFXpGjxnFSEERNZGqRZq7UlckjZzACHRpx4akoYJGiW3u+REL690gNmXw7ldP/anEFx9do XiunH6o76mU4lGTrhid8x4i3v4K5o4H/qEi7t39KRgDXNs7ha3mPG0giSCfVx/JSjr6nbj3vv IuV2v9o9t2XShpY1j/Bii9uUQpnNuhy/6En0wtsqk8JO2pcif/BCgUHrAdN/YIL7PyYSM7e7Z H8EMWGYkl+PPZw= 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=1644533862; 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=FdH+kmxTrbURhHJX6vGrF+nUwZr4EVoP3YRpRJbWcAw=; b=Jo1W2O6OXbKkV8XqYOvDHbXfx1PIOxV3oqB+T1zbW1gGnX2FFYpM6zQyyEFX3A+PEmR0re EDTSCMaFUjiXbTGU6P8nO6714B4xz5BoyN6F4ERq+7zqQPca1p9rdkxENl4K3tOfkMA4N0 LTBIcDv2KWe80mZO+GVChlawOb2ZjHsGTbITWbLreZb30zS/M992c5q1Xx6AUQL8OpNDw4 8+mngmruwCrCDRJ+t+rjQDkVAyHTHzBNkL6bOOWwbViN59OCw4LJE4m9nZT6eI6zomFio0 bYHI+KHyBwXfrGlXPjllIfFyyX9Ml7/yXyMxb7M/LIqJQcCWYjfHaA4AJdzV3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644533862; a=rsa-sha256; cv=none; b=VLKplNnyzhcXkXX/NlrtUBwdO+ur7VKl2WmdRKfekmZ9ImCGt8PbrvWjkoGrJAnv5hhLRM mMhN+4cSsJg5qOorQEtXuW6lyILdY69kVKK/3AZomuyaPEwJin2leg6MrwSz1czLooXCVp /GXRdEAENzwlwTDW+9AYSbfoh1GwwPP37sQ5Gdpc9cvuMv40QQ+KcjqV5e/fdC+2R8FYbz vyHJw0agspxEfalPjznah8pvrbwXkCaJaG1+zBux5LzBDyUWpWpl8O1nFXGJYrGxFCCZnh vAqrGyzwIFXNqN+7C4J0+Os4WlZDiuk+bhgmf0r54zR/z9SqFCvhqMF5TTFQ/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=NQ73XmIH; 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: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=NQ73XmIH; 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: 15CD533CDC X-Spam-Score: -2.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7qT9vsMCtUtZ * gnu/packages/tree-sitter.scm (tree-sitter-bash): New variable. =2D-- gnu/packages/tree-sitter.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index cc3bb2cec0..827e1cdc4d 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -265,3 +265,27 @@ (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 (tree-sitter-origin + name + version + "18c030bb65r50i6z37iy7jb9z9i8i36y7b08dbc9bchdifqsijs5")) + (arguments + (substitute-keyword-arguments (package-arguments tree-sitter-c) + ((#:phases phases) + `(modify-phases ,phases + (replace 'delete-dependencies + (lambda _ + (delete-dependencies '("tree-sitter-cli" + "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