From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oKhZIdlIgWIwLAAAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 20:39:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UJ86IdlIgWJJkwAAauVa8A (envelope-from ) for ; Sun, 15 May 2022 20:39:21 +0200 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 4D6F6A6ED for ; Sun, 15 May 2022 20:39:21 +0200 (CEST) Received: from localhost ([::1]:41512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqJ9E-0001f9-Co for larch@yhetil.org; Sun, 15 May 2022 14:39:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqJ8w-0001TQ-U3 for guix-patches@gnu.org; Sun, 15 May 2022 14:39:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56774) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqJ8w-0008Ta-LX for guix-patches@gnu.org; Sun, 15 May 2022 14:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqJ8w-0006bO-JG for guix-patches@gnu.org; Sun, 15 May 2022 14:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v6 05/27] gnu: Add tree-sitter-cpp. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 May 2022 18:39:02 +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.165263993225313 (code B ref 49946); Sun, 15 May 2022 18:39:02 +0000 Received: (at 49946) by debbugs.gnu.org; 15 May 2022 18:38:52 +0000 Received: from localhost ([127.0.0.1]:50659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqJ8l-0006aB-RS for submit@debbugs.gnu.org; Sun, 15 May 2022 14:38:52 -0400 Received: from mout.gmx.net ([212.227.17.20]:45421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqJ8d-0006XS-U8 for 49946@debbugs.gnu.org; Sun, 15 May 2022 14:38:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1652639918; bh=EvbdJw28hrsaxyFI0cUKbcahNdyOTqSqHoLNC8Uzsgc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=L6cLxY0LehNyYdCZ42F7ycdP0qIwj7Zj6hhyh5MfjdNBmXyq/8TF+t02qsRnfJNjd ZxDjt0aHGcC5pvgt0K4UzeWMFb2gP8PgZwRHOfL8lpJ3d38TvfR7yGNf2kJQuCJF66 btjGffolIDrq+ZyHMMNPqX3TFWIqevJ6xi3NFLNg= 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 1MV67y-1oIKOx3At4-00S4DS; Sun, 15 May 2022 20:38:37 +0200 From: Pierre Langlois Date: Sun, 15 May 2022 19:38:12 +0100 Message-Id: <20220515183834.18771-5-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220515183834.18771-1-pierre.langlois@gmx.com> References: <87mtfi63ut.fsf@gmx.com> <20220515183834.18771-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:SKswQVduDl4x9+i6n5RhXEecEjsSa6oW8ZrMkimxhf6LWd5HWdU 9bhXQqwjEcq7M5KSmIPuc0PUQsn7eQrvO+G1gkpo37XhvD2voQi/7MlsNbZjWJPvjaExxVJ FCCK/6nmEj986U7aX89ILejqg7x5l3QOrSFO43ZmONdyIoC8GnJAQJO5p/2w2THOiUZw4+R IbH93ATAsQbfMTakIfeDA== X-UI-Out-Filterresults: notjunk:1;V03:K0:NG3gfAdwFZo=:OsUtj6vbb/KvjaXP6G0/Dd SmP/s5TgsqJq3gYCSDTs8nQCxbEBXkANuUj6plgyB6KVKfIbKUAjgqdC6fh6jiQizMvq+xXx2 YKquh9fzWNDXbXXzEerdrnS46yeZQZn9+XWQiT8MmPUTEBpNtySX+WwSfJcTUt/8hEyWex13h BB9+IxjhFRtOT8ePlyUKZjJUQA9lRaAu6aRt8Coc7Zbft0j2zfQVImhYEJG6sx7/pT5PUqICJ kV0LQ9tNBIJQDl4V69r98EEegAMxKpp2LVKKO6CJgk6Gdb1eo+o9wfelkPoDcrk3HHPgMQt8C yvvc/s++eUX8P+tSYNpsk2PO5pWJx0yeWkrCbC6TbZZj3m/CVSdbpJpu5qHOSzUNoY3abObmB EjYt7ojgK3e3+zp9wmSOq4Ari+bxW3V2sJKOZFy9GS/Z8rFUrcKIkYvflotNZX0NekI793Lfa TwSWYi5ZzfusYPwqIx7Uf7SsCMRmEK/yXK7gL//kCZkM0ESYDYZs6gTH5WgW9zxTVG4OG9UZN w8O9wSUy/raUpl2o0Y078+U6U4q1CAPxZNKMQ30aSORATPGvesUpgqJOQ2vyEWi3+p8+va39m cAq/0otYTKAQ/iK8iIhlq4HRZxEzvgbJwZcALWBcWr1BpQTADKQ8cnr6ohVsuFhIxBJfODWv8 u4lkL2APLldoGKICB5Xdp7Qi8elnbYBkBpIAgANyals/WBZdam2/O7weBcaTdQ6mZY1MJhLHl +AenfYKbdLKLenkdOM0Q2AGgFihwPUbGRWh5EV+NzyeG4zPGvXLwCMQi9td8AQKcjPK1maQX3 jJAqTYb90Ob23jLGDo2/QlInlXTuKW0vg24DmBtEaM1lBv73jNIe3IVy5209O/9KSKTwA3pyI MzqjDI6AfT/bUJ2GhCTCP8ZlpdbZXjue0mU8fEsPi4K0/+3ZHXBomB9b6C1AGx0fr2H1zbVer FhvgLrLw/ZRG9Hh4cibCf1lyd1scr8+EF82hrHaeQcCpn0WvMRbb31+Sx8bpa0WoBgvm9U+OR fbi4+rDNmhy0Tuwm9BeCyYmVvxHjUGqtLuUrhH49/JKgcoAW/g9r2ifm6/IXesCBRy1N+o/yv MCXtRtprus1hoY= 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652639961; 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=POtDQdXnEY4oalRmIRt/GCHm3vkKqkWQucdDKzZS2ds=; b=JyJ2Z4KzxjiDuZi7ROI2Wxmr6Kg4qsyc3UxoD52GOHX7lgWgYFifUD2yfhIkzgGro+xE+Y EkWmhppJ+Bhwf0KM07AF3J3MwTrzCz0TLpS+msKPAcOmcOIOBwQfODtsjVd/1sbAPHGhm7 N1BZYYedPGyPRlSVJZse6UXB7KFX1mn8N7ZmV1zc66I09XZkRa6z9kadnvJPY1t84FoPm5 +yGXL+9IIEJqlG5fnGtZ15FDgN/m2R/4iCkQyYUdDKcNGvngDeQLbrD7ZmnfxSkKLw+QsG vo/zZwNl1CINmyJNXA3CgFwUuRkxCzKgBtAVVpFRurbX163lXSc9PArxfxiz4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652639961; a=rsa-sha256; cv=none; b=SvJd6OArN+ZtSW2ewsKVjC9jePn/X3kuszxyfU7Ac1nptft0K1uAhf8Nq9sfRNd9nJkENc zswX2snTy9/JrsPEToZds/wePh9ChMIfVqibmfbftqaThOqqolAy6DNMHJ7fIEzbkdfq1E r+9tULkqPYUkEqzdiynLN2z2UeHAtOK0q71cYQ1xsTpaTVRpvqk9I4re3uevDcY8sQH1+6 nX9P+y2hZ5/AVdrTxM1FMQ9egHK12JzrdVvcZxGXPcNE3mCLhq9AWnbqUN6sZAzkeuJ5L2 SVecfbkcPkQWDzvYDh1RF3UGpwJyMwn6iBSHCv+ZVHemFGen8nY7aiZx/uIdNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=L6cLxY0L; 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: 7.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=L6cLxY0L; 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: 4D6F6A6ED X-Spam-Score: 7.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: amze1qcBCb57 * gnu/packages/tree-sitter.scm (tree-sitter-cpp): New variable. =2D-- gnu/packages/tree-sitter.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 3f07b2d91c..5e25d48c05 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -188,3 +188,26 @@ (define-public tree-sitter-c (description "This package provides a C grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-cpp + (package + (name "tree-sitter-cpp") + (version "0.20.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-cpp"= ) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0hxcpdvyyig8njga1mxp4qcnbbnr1d0aiy27vahijwbh98b081nr")) + (modules '((guix build utils))) + (snippet tree-sitter-delete-generated-files))) + (build-system tree-sitter-build-system) + (inputs (list tree-sitter-c)) + (home-page "https://github.com/tree-sitter/tree-sitter-cpp") + (synopsis "Tree-sitter C++ grammar") + (description + "This package provides a C++ grammar for the Tree-sitter library.") + (license license:expat))) =2D- 2.36.0