From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 ODR+OAywD2IBuAAAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 15:41:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MPv5NAywD2L5ZAAAauVa8A (envelope-from ) for ; Fri, 18 Feb 2022 15:41:16 +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 8DA6333DB9 for ; Fri, 18 Feb 2022 15:41:16 +0100 (CET) Received: from localhost ([::1]:58086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL4Rf-0005aG-3J for larch@yhetil.org; Fri, 18 Feb 2022 09:41:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL4RU-0005TL-D9 for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nL4RU-0005QL-2Q 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-0008Uq-0y for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v4 07/31] gnu: Add tree-sitter-cpp. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Feb 2022 14:41:03 +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.164519521332442 (code B ref 49946); Fri, 18 Feb 2022 14:41:03 +0000 Received: (at 49946) by debbugs.gnu.org; 18 Feb 2022 14:40:13 +0000 Received: from localhost ([127.0.0.1]:53784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4Qe-0008R6-Fm for submit@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:12 -0500 Received: from mout.gmx.net ([212.227.17.20]:37753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4QU-0008NT-29 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=9b3JstqJKboLpC0xTBVeqLwgaF5qUcJyg1BzS7phgtE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=M3EC38LJP0DecGKn2ScARfUMEy0TJ1sBApQezkofMVbWpQ6VEDOWMm3hKUXlnu9Gl jyh2LLlw/79n9MZoG8yjEfFA6rirLL/Du7LpE8yskkjF411fN1dZGta+jLKjvb/5TB /XDYUiOsRfdSvCYVZlhQJH31ZXMC9QdXf8wj/sgE= 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 1Mk0JM-1o0gcu0sS8-00kNvJ; Fri, 18 Feb 2022 15:39:56 +0100 From: Pierre Langlois Date: Fri, 18 Feb 2022 14:39:24 +0000 Message-Id: <20220218143948.28989-7-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:FNcUoZyMTju0fbHF3fRO+RvY1GlPQ3u5WPBT4a1vwvva9MX39D4 LIZ7VO4wEiLq2T8ZhYPytZ74utVc64DYpQC7hg/xrqB98e/LszewzZy9rcjGCIckRQssUDk re7HoGKv+3lP4MyErOiPBIJ3Ztnk6M/xlmFlUhXrFA44O4n0outCy4+mUEZ/70T9oDrrxA+ 9AOU63soW7bXmRiOy9E6Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:HKSS18iNR/Q=:eTNclZ3lH8/Oku5oHh//l7 y9QLBXblQTvGQUMa/EdMaHSQ3TuBB3sbyDrxR0fcu6tM5aXCqiSOh8kTJ+iu8FNUWJB3iXryJ 1KKdKnB/YGiTTkhj9WbAmkFnySrjBYnq99yFGofupmjBg/Sm06CLGEWAYoV1fFbbcsh9Dv/Do l5iGcmS/8rHIDq2/kyMiChkxScZ71ietMKvWi0FKyN/AuuXWq/GFyf5oWFYItvgzNmso1M7fM xa7VBEm1KL6AcqxT5RGIvUE8Q032xE///oyljJrLDRSwv+k1xRdgA3XJknYrLRQ3E2tXqU7lz PZIYXAtXJl4ZBsD3Jjxa27xa7YeUV4f2gtMmdAG52sYx08ilSIS3gEO+bON99R3oyMQysT8Kd buhkNQE8SwL3NXCJYMnntXnLblHlB8BEMMvQJlnYJaASJVjcTG6uuETAjv8y/bwr/Sp2FyVNT j0zsit8J8bzL9w8ITRAGej9Pc6eiYLoKYbe7GHiXi+IbcP9FxUCU6dztU3PoVbK4sC3LeQa31 /teobCcTIkL9441X0SYe4mc1yZKqrk6mCqTK3/gzfwfEuYBckumKkTG3vHfIAxEa8wlPeKsrm 08pHwc3uMul+k3JSNrZT6P1/qXjSCaAzzb/Wt8OTb8OBGri03ZcODmqCtpXNoI6B3ouTUiulZ sOK2G+VAnCgClqb42vrgf/d82zIN1EfkwD/6rKg7eW8gW4WJE0asD5PyzSzBlltnpT06YoSy2 CTI6eV/J799OxAXj7jo0B+iBaVmpAk9R7XREljoC413j+Wr+kH5rNWXBtkV50qFZLEqGCB5cW DQbTWPTWPFosMsgAcpoQIsO6A/TeWrfRTr9npPOl0SgFevEJQR7OJ7mt22cDSpmZa06u1x7uz DqE7qca2gNL2+rhkLI8dKFz3UF7k/J9K/0tp4bt7kIPusMUl90IU1a2cpObd132+nZ5VJGIcu HEurxvFN7LMxtuNCTYfPnip5PUWAB51ATHTx6SH8Ryh7sFup5ddZZ66UmPRdaeCBFGmPVMKS3 VgXiXxZenzJL7tTT3vTuxg0rwa89rgM9+c+Cg2U1YrrqaV/UIO5IvYVCngYcMYSV9CsJQbZJt DwL/DSbOGTDE4Q= 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=1645195276; 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=YhQlhdgN239xmflIRIaHnrYeK9RrLcsC48vt+/o7FhQ=; b=fiGqfiieqle2dZNHuXMjqrjtDhnkEGMJjGnK7euscwjNn/Dv1GJ/X96jeWkDrDJIl6WoHK /iuYwKXmViRpqlpq/kscRF9cyjhmo5PGqRXC7xfrfkBeLaoTIueYd7IPp1D0DV4w2MEkfc GSQEVzwIq9dPecWV9oESd9FqcNh00/i3ExTyYrT1F30q+kaNutSjL1UtINJZjc5CgmxG2T nFSLKRxaH0XB80e/yaLMMYI+cBj6+grjNRDcy14YOo2a2cBmp/SJHTeyxeRsLardGJwbzt ttc/ovRkBhwCc/m5NYYrw0lVEg+zCpCGH2igabBm6/SBDWliHum+2rcWqpgXYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645195276; a=rsa-sha256; cv=none; b=kWVmeIvnuSTj4TfRRATkHrDesgxZViKG3nMWJDJi7en50nzctzfZTCgOnOcYXJcIWQpyyS ipsZqoSlDWbhOhhuPAhGVABFvC3NGXyPUgZUhNETtXiB7eRGHac3PBC6/rQ/fk2IbEJUoZ BwkYbSGrRpfTKw49hs+kJigHIu8zLDGDjwe8mi3LgLShDVXxuWZvWL4bujsKH43/0taOq1 WLnBgs5kf2PZCk283fSZestdYtxeJwRA2FXt045On/C2C2PcRm+r9sCj0/yTe8OVRKExaS tHUtkdaqhs1P9yzRVahatMzWvscT/couNkHwyX7IW7oCugWBQevd9cPIlt7Hsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=M3EC38LJ; 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=M3EC38LJ; 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: 8DA6333DB9 X-Spam-Score: -1.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: in7DFtIsCuZa * 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 920c386fdf..e82c6e60a9 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -243,3 +243,27 @@ (define (source-file path) (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 (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))) + (inputs + (list `(,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