From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AFHEJhpmK2EkbwAAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 12:48:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MB2QIhpmK2FZTwAA1q6Kng (envelope-from ) for ; Sun, 29 Aug 2021 10:48:58 +0000 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 36D93500E for ; Sun, 29 Aug 2021 12:48:58 +0200 (CEST) Received: from localhost ([::1]:39140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIMy-0006AI-N5 for larch@yhetil.org; Sun, 29 Aug 2021 06:48:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILG-000673-0W for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILF-0001f6-9f for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILF-0000H2-7B for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 13/33] gnu: Add tree-sitter-cpp. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:09 +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.1630234022890 (code B ref 49946); Sun, 29 Aug 2021 10:47:09 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:02 +0000 Received: from localhost ([127.0.0.1]:55574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIL7-0000E0-UN for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:02 -0400 Received: from mout.gmx.net ([212.227.17.22]:51629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKk-0000AK-CQ for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233992; bh=zHUhFXLhkleepxN3jx5nLi2MUSp6cMmL0F1wp/OIbW0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=cQqqxPVTblTEXyflcRKkHVZanwFRld3dmN4V++GN5xaMGwlkZkMJsx2ooiwFHZPv+ zm7gGT8Eu2B6+f1XRc2h5/RhAatPx7nTlv2bAYfZRM9o1JrA6G3dAg7GhOdJoQQ8wu 2BInpDtrME2zz+ijd33ALLrvBjjt35ML3693l4VQ= 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 1Mdvqg-1muB382LHa-00b0My; Sun, 29 Aug 2021 12:46:32 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:48 +0100 Message-Id: <20210829104608.3103-13-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:JHYrQXP+GUSU0wu5CnIdPoUEKxAs/fscg0mrlLBPqx+xmHsEJ26 YaxOHPs1rjjOnwTXW53ASaJFZ20akoq9v/Trqukuq6VXt1CM1m+QG9Ln2QpcRzHorGwvL9f LMt0d5UYjuD+MCCLE+jCBe0gSmwVe9xjIYrwbiOzjthELJzZeHQ8jiMx4BYs0sXr2QvA027 5vMKPtpzIosLxZ+92h5oQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:K8FHc6V5dbQ=:tgCykmi8HRTrWQyaobxCHB RbIW0Yu2Zrg3zxEKX7WaMGpMRrs85nocqRn4N39Q3fJnTo63ecPiR1QKm+hZeIPdXxIAAaTgL lcWnieN9skAJKCWwPLxp+3N0/DeGZRCfs+byslo4om6zBdCij+XWGGJyxpX86X0TRUypVEsdm qapFmk5zy/43wF+jOoD9Ro/7MD3yzcGdgpnIsy2U9S0DCvlDOnSO+slY4qTi8D55cGDQ/Uu+S EfGYBqKElGv0fD77EiwOg8gI5MCpJZ9FrE29j1UAz3NIjAcNOjY6iOGxcTrPwIiEg/30l0RD2 Mk4XkEAHAV/UotWjA+BhTZT46xiK4pQigsR5csBwIeALeLu+3GGNow9L1kMqd5EZ3tKvZEvpp wFHILMSXNMBfJz2CEWrK5u3FcdcdUCpMXBv1gBm878mmts2bsioB2wQKn3YsMdWXFwxlpXEvF Yp6Zh15aOda5qT6Jo6qfCSJl41hi+plWTbpzDgwth/4eTaFE6K1v2BdvveFqc6pV6IVp+X3PV 01SraiCp44W3jg/WMQn7bwtlGb1Bo1FE27m7V/SHKDhnkVBL6fka5U7z3dv/O3htri9GeATNv V0qOSTJFYrZvFt6Va3Gg3+C/bRA2IjtALCv0EsIM4ESsO3B4jb0H2ec60gmpEculDQUQM8xLh 7RosN1xlRPYNiApqw3vvimJcJaroeov5kj0lC9Iuti0IfXDkpyXYwvBMFOzbMmGaOFnyDhZ+Z jAC+m2qz/vLcPhGNu9ZzIURwdDgWCQaO0uvCE2b4jfowlX6E7R/+iVmYf/XKtBSb7/tbH5eKr 6SSNquDBzjJcgdujFQ62HxuykCaApdEqY2i5XvFmsGDpQSNuYNTu0gzyZzgycqvWQIrN+lCyC EqQy7Hh17Y1IHe2l7YmZv5izBy9uD6C6eUf6LsElNKNWcAkT+BHVmjHDIjGbyK2ZIsZgawpFU W+73lSSdsAuE45t/gU4uy1c0SOLiZtXvWv+gfLmlfbslRGX7DKo7qtM7LzNlr+U3P4NEdTctV H3PmboG7tcN6AQWskGPw8AL0P5rD8wWBQmqPKX5afRyE4s8GrJFv4YQQhhsNtIQ2jfkujZdq1 aoQtm/oXIXhgegTSJBjyXuEW7bT7iJEVs9trn525RttW3xig4KovdXDug== 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630234138; 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=M2iZfjJSFZ6BJnYZUFA+l1QSWccrcHbfg0nkX43Zlr4=; b=NULh+TFjti5BWJpk422PMkPaTHB2zCYFBuDtHvGdn0bIrWV/Fnzl7vj4obx2eAxLAlzM+/ dgiJu0Kntiwk1EzR7UzhR1Zmt1e21ODv6VpnUy0qSij2uzkc9TwzJzl+vLf3AfkzB0z93h ss5BVLLPuFlZqenUeBbxLXZv/nR+wH/fEbGJgdEJvGqHvk0u9JkTNA+mkP960Iy7i4/UHP Rc+bPY9PyQeNX+5DdRVoe7d8uxwY5B//Y5W5rwUv8ttxzRUGx6h6/QiPk2y4JpkmJHGUKf tcpavRGw7bOm+UrCobf+oTOpyNsXuqV0fINv9L3ZEhhNB5JuiEsy3Sl+NoWxyw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630234138; a=rsa-sha256; cv=none; b=ulCrXT9UB/RjgNjFqQgatmu716GWLU8ZGau+1fWNP5H1aioQg7era1oi4UhCtJW/eHxHKs K0Jea6yKzRVPySlbqQz7KdQ+K9VYKduOty0Pwfuw2KiM4qeTKUX+/3ceDgyBPLaN7gwiWX JxE2889BRMJL9ZTQyHlpHVm0Njjx032gw6NdpCmlm/JPdDFUh/R2LnVtM4QnYMLBGxK4yL 0NbjooNnqjHgps3ERHxAl+5Y6pG+36d8Nri/5cQIIspdR8Rwp4+cJHmxCN7UO4SGT3eFHh WS1OyomswuJ0JavaRWNxdEsQwVHfnkH8lJ9CDD5iooUjbU2jzs6oKak9ih3M+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=cQqqxPVT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=cQqqxPVT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 36D93500E X-Spam-Score: 2.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: O4Bx29AMnrF3 * gnu/packages/tree-sitter.scm (tree-sitter-cpp): 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 bc04a4a5a7..07bdb54627 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -191,3 +191,27 @@ This package includes the @command{tree-sitter} comma= nd-line tool.") (description "This package provides a C grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-cpp + (package (inherit tree-sitter-c) + (name "tree-sitter-cpp") + (version "0.19.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 + "08ywv6n80sa541rr08bqz4zyg7byvjcabp68lvxmcahjk8xzcgwk")))) + (native-inputs + `(("tree-sitter-cli" ,tree-sitter-cli) + ("tree-sitter-c" ,tree-sitter-c) + ("node-nan" ,node-nan))) + (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.33.0