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 WElVNmSYBWKYSgEAgWs5BA (envelope-from ) for ; Thu, 10 Feb 2022 23:57:40 +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 0MIpL2SYBWL+mwAAG6o9tA (envelope-from ) for ; Thu, 10 Feb 2022 23:57:40 +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 7979533F02 for ; Thu, 10 Feb 2022 23:57:40 +0100 (CET) Received: from localhost ([::1]:40280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIINf-0000u1-Lf for larch@yhetil.org; Thu, 10 Feb 2022 17:57:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIIM8-0007jw-GQ for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35413) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIIM8-0006JX-6x 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-0000x6-6e 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 07/26] gnu: Add tree-sitter-cpp. 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.16445337513547 (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]:57522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIILv-0000v3-52 for submit@debbugs.gnu.org; Thu, 10 Feb 2022 17:55:51 -0500 Received: from mout.gmx.net ([212.227.17.22]:35075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIILi-0000rz-Q7 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=IJ+YkAMKcH7Id0Oxt/rIbidCQfLZL/zslSctDXljg2o=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=QwPdtcKxU5saNMQ9SAyPK5lof3Yh8FWW3Ppp0ou219cGHE/1RFU9GG3rmboOUVlXD u2BwIAhpipLFtSw8rieI6vRz6BfE/BOxHir9UoRPDTvGAr+gNstMYY0UgCJHF70jPS C7wlbQ+JLPbt4G2L3cGhXDubJ+wfb6uH3l0S12SE= 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 1MUXtY-1ninPY3vAe-00QX5z; Thu, 10 Feb 2022 23:55:33 +0100 From: Pierre Langlois Date: Thu, 10 Feb 2022 22:55:08 +0000 Message-Id: <20220210225527.25189-7-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:3Ld6UHlyAK6vFfXMc9ucCEAahqTA28LEe37awBrhu3Ix/M+ic4k i4qa5NrMGd7qLgs5uWmQQVU+vJiZI6foqg33CVZtJRIeSNFHOxW1TH63q4hRBlFbxmtrRje MJt08RmqiB3Cf2EK+kzV9bHCvYqWQa/XeChXe8S/yoTubSzsLIj1tqHQlqr5SiD8c4RfWGG Aiv5k9SUwLn964EMRxitg== X-UI-Out-Filterresults: notjunk:1;V03:K0:lfOHdSkyz0I=:7qK4Y0tEeswPTiklYjHLes mir0M+Oncp078X5ATOYDZTUWwmb3MFVfTbIMzdtSxBKvA8NOxYUDnOcdARWAJRr+eGG6Bqk6d kFJ9/JRAneZTzQzmlwLlpE4DA3uySWeAaKvk1dwzrBfAWObNI38U6ydliDFkCK6lTBQNcqZOs eqhn/L7td2850lVP2WzDv5Wv3z53PhuBXvYqKe38z1e8uwWY+zgn7d2hfOwI1Bqg4ECaN5uKb MiBGRqAoiJ5ATp4mBG5H3ecUzweW0F+vQ9K3jLbpAnKabDeV6JUJeeEIj+GcZvYH059Or9+ui Ct4cZ2T8RAeZYg+K7DYEnmjCqPJGImqVVSJSn60lyVi9n6FIA+LsIFf3DS8Du5EXMcKfFQIqk KZcydsFB5c+qDih21qaozrs2s0QZXdR9WvsZxP7N9gS3Q579wz4f7XelNa4wz/S0qhkOIj/Kg zuzEoqDtGkWN6p3AC4jkBgipnimwVJH4XzbuvQmz7X14v6C7XWBCXhZhwkzT3ZNS0p+vRBr9C gpaPrQW4CofeJDn/mhOf7j7IK8NFYxTRkzfCyYNjRewpsF6cHrllMqSqqfcHbHRpGlP5JscGb cAHmKfi6fhMJ3cFfUM1U7QwvzQqJ8oPtj+UrDIYc6IfcM1P0boG/6zj+DwVQrxyTznR6wFSUE pQFNkveAExx1tfs7slVfkFYHhhrvylZwckkW+pw+Bhk3h7LkDu+MtvVQnE+/zN1nH3kLvI+mP YzZGqzlK2DJBv8G2EhgJdMUdvWTG33Pblqs+a77/61GoN0H02YcMdT2wYYIztjRRlf1OR1LCE x6NtWv6aC1iBceZ8YM9M9bUJoNGzQ08RsPLkbhhex9fMMAQSVQNIznkYRAVzI+H3Z3HtOdOq/ l6P9egwK26dSh9UL9usATv8nowR+eHO6pbot30HaBqsV2FEJvzCNSo21/9DYSYrAKYtiV07ya ED0AUX6Zh0HWoNvHyvwUcvRayi7QnyjOnX4ykv27Jz9app6uXvQKFFKqNGOnSuRy9wWftK8xr tF9n4/WtwK3eprEQ2PrJ2UhMyKpRwRoKHu58KEdI8ABWDpWtyA+z7jn/rdcMgg5zKnzmw5kQ/ +tH7i26lWaIex8= 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=1644533860; 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=banJN0Mb4vwfFbC/f5PkyyGQwxdYlIu5SUZoWMoYIH0=; b=qmuaaZNidKJ2nxas87ZkjLREjrqLcRVe19Oe7QyyxZz27kolkHbicqGCD3v9F/ekn2cch9 ZKEn7eRSJZdvCd33P5DWLN4ywni3vYMVjn+k+HmObyDPoUPXZViOaTJpIMIUsZl+wdhMpP Od6wEXn0+zAHqnl8O/i4wVAMztOiaff7JliQbkdl0hnLhWf+eqGX8FT9IxRvhNSZa1/3ok u4Axoe7AhE4S10jZmjIBoeFpAJhIGRw1tSRqBxsbvCToTkMeTtATVL3596ShXMqL/YLb7+ u8rw5WEu+hg94XlE19ETRCI5aVgCEjfqk8TczdCKtKjdVvZ4HbAaENsJTsCaVw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644533860; a=rsa-sha256; cv=none; b=WFoEThIr9rN6D3tv59QPVYXBSzqog1k0Sm9dipw2BcG+imx02y35WOYM0gNHLT2/cyiETt GonUuf6diCCBv69aO0ZyWzNEkIZB/sJKXtlGX7oCfi3Yh8jPWhyEsgDEfrCLJmrqRLJuPt ioOTd3IPXgku1x6+qHnslUALtDi+iHQgTUt0ddUPXgpW27DMxVUCsFy+oyJrVGr8FenEfs ZCNUB8uZyK4Y1jtOoFreboVwwZvNvs41El1xC5tDNJbMvhsZJwEd9CRPRsstACWkU45EPZ tyMrBoUlD1XTDXqQuPIAhGolCzD15KwZGArGQQGHwHNhSTSAlSZiJhFarGORWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=QwPdtcKx; 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: -0.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=QwPdtcKx; 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: 7979533F02 X-Spam-Score: -0.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: x4lS9+uVm7J3 * gnu/packages/tree-sitter.scm (tree-sitter-cpp): New variable. =2D-- gnu/packages/tree-sitter.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index b62cb483c9..cc3bb2cec0 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -247,3 +247,21 @@ (define (source-file? basename) (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.20.0") + (source (tree-sitter-origin + name + version + "0hxcpdvyyig8njga1mxp4qcnbbnr1d0aiy27vahijwbh98b081nr")) + (inputs + (list node-nan + `(,tree-sitter-c "js"))) + (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.34.0