From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2KttODxqEGHwJAEAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 01:35:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kH4sMzxqEGGSZAAAbx9fmQ (envelope-from ) for ; Sun, 08 Aug 2021 23:35:24 +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 727D4D1B4 for ; Mon, 9 Aug 2021 01:35:24 +0200 (CEST) Received: from localhost ([::1]:41462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCsKB-00080m-Jk for larch@yhetil.org; Sun, 08 Aug 2021 19:35:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCsJu-0007pH-IT for guix-patches@gnu.org; Sun, 08 Aug 2021 19:35:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCsJu-00063z-BJ for guix-patches@gnu.org; Sun, 08 Aug 2021 19:35:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCsJu-0000v6-92 for guix-patches@gnu.org; Sun, 08 Aug 2021 19:35:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH 12/31] gnu: Add tree-sitter-cpp. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Aug 2021 23:35:06 +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.16284656753361 (code B ref 49946); Sun, 08 Aug 2021 23:35:06 +0000 Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:35 +0000 Received: from localhost ([127.0.0.1]:54983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsJO-0000s2-Mt for submit@debbugs.gnu.org; Sun, 08 Aug 2021 19:34:34 -0400 Received: from mout.gmx.net ([212.227.17.20]:35095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsJG-0000p3-Ix for 49946@debbugs.gnu.org; Sun, 08 Aug 2021 19:34:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1628465661; bh=hsfRwUms+uTCDezLaiQMRA0vx2JLWnI4idvu7kYTJlU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=iDIc5D78BEjuF+KWBzCZLl8sn4VsahacBmDTZmKsCU2woAPJCm57q+XwDJBjYKuHk HWBELUV4aACgg+C16nAOJQwCaCxhCh2Sum+fFjWTWrB0tBxuXUa2zsitHGbjVqtIlk kBDses8MXJIfoPFGtP8gqbxiTZLre91zOrN91wzs= 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 1MLQxX-1mVEND3519-00IWEg; Mon, 09 Aug 2021 01:34:20 +0200 From: Pierre Langlois Date: Mon, 9 Aug 2021 00:33:35 +0100 Message-Id: <20210808233354.6745-12-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210808233354.6745-1-pierre.langlois@gmx.com> References: <87h7fztt60.fsf@gmx.com> <20210808233354.6745-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Ijk2fqy+wicWdgBzO7vWqfV70yGeJM9E5jk4EfC98p9GztBpXiX NZViGOtoHSCN5eKmTiGhthRa3+iK6q+w76iiViKsXixeJCyENro3TBfn9wKyZoE6N+3CF9W Gg4XJ/UmpW0QI9R8fZKqPYXgVYBEUj96APETGvg6VLCvbwZEdBzXI9kyFysSzbQrEJJxdQi yqwMjXwQ4MRB8qh2Sx5LA== X-UI-Out-Filterresults: notjunk:1;V03:K0:Wfn7NcJkY1k=:kJhCKDXlApStYV/Hp5WQ7Y Q3lb73hfIQkBg5+sEujiIJGOLKy96SL8BuT3cP5PKFmRsa0OdhUJxo4ah1+6J04x6mtcwWMHm 0U0TC650/i/v8BTJYH1Gj8r/rfEotBnWrFRTBsf3hyFcwAxQJD6vk1UKuSl8fCjK1N7emUhEO nNbZ8Q4bLvDybKpmT12wz0xU/zZg+EZD8hmrDANp2EH+gRRPdpJVkCqwgkV2dVpF7ywk/YkUV QAe6wVnSKoYXDbiWlIUiYFW+RM05+WZXXcn4ToM2BCD26AxCbb40KQB6NrJy6Y0K94/mOnTvk ZacO/Zo1uG7FWpHPxpOhW8092FrMyPc86PifMMK/tB8m9gAFHFs/p8fof7vIrEahyjhwCPqG4 XLrIekC7ECsUSV5A3WdoCTqGgbGEq91l/hng1vWV+h8jMsKQMKsEkT9G6jLNZv5bHZUFtDbgx e4pf0WADSXbScjCvAPTswr0tK7WdKzQU4q3UeqziQ+fa67JwQIGu9daZ1xeD9/exoASx8BbN3 BXrao/uEE7/GHMkX3tXXo/ljgR6hZtYeJnrQPiV9zjpcinsSb53Izv93qQel8zkBMspI/N5z2 Cun+ruff5FZJE1s6UpRM4V6INYFRfgw7Q2axFw3JuD85JTeG1J0PrVp3UxBC45/Jvkp6gy1hq H2cvacp6NUdjBtYOicNfAG92ru+nrGDdlpQggFoMWT3q6ONRMgQdsV3bdq9oE4y9mKgSLLQKf HCT2MTwupMuj0tgwEKiUxXDeN/QihcKft2ZgZRaKC4vVlfxkkG3bjHye7YHgaKgdTem/pVyqU VCJBU/U+obWBvVKwv0iLWrVRRaahPyrH4+VWEB+dBcyv3eGOEAtJSRrlNvn0Y564UEXkz+ldA xs5mwI7zUP2LXOmkmfl38j0Ow8UjVBI0kTlEHbdhJXP2miCCJIXMD6PGAqnaGIFI86nGvGZu4 FFhLiBu8QLBTzITyLG+iXOdq5k9sCt0pbG91VpLNosnkElqCxKPza0S+ivRvapG7qEMGVoXW3 ZFIglsP5QsdZUXeq4u+/H4uJRtmzPKgvVr+zc8L0+GKkcgEhYuuolB2AndHHEQaxMS1oqFJW5 JG2iFV16udOjaMNurcaBsrh3wfe+S+Bm6CX4KsnB0VDd9SlMKPKtRceoA== 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=1628465724; 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=8XBa/8pPnyRd2BUZgkKVFvRY8MPDR1sezlOOeJ5oQMI=; b=Pz0FUMOHKaJJfkf0v5t8zx0Zdo3AGAVVSzEaM8w+F9n08W35eZ3v1kP/vQ6SBqCumLK8fR pWFe1mbXq5EchQOVdeO5d0BITxcrSd64TaaecsVWfWVFzVMBQ4+rj6ZgVUg3tXi/SOr0vY WKdx8r8tIQ2iaDDn4K5Z4QuU11pGVGPhXPaafM6cEyP/Ajuzp3YRq1BJHc60BaM98pXuwS 8PCNcizzVO3vITTuhgk+Rb9F5QNbO/ByuYB5UYgln+zQGR39FhLgBMco64YCTS4q1dN0zf ZNBQpjml9QRK9bvwuWko/g34ncgft2Wne8Y2quFyEqw7g+Y1oKq1ZkO4UyEkwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628465724; a=rsa-sha256; cv=none; b=PwyIjJ0pJitSWOjUXgh01lt0l2cuhNBcUwCDwMLu61gJibjl0OlBmqHmW1mMfM9g1K+zO9 QKiTcFVk9IUflC0PMQtvur5Tq/uMPTTQwAMLDYtxTfk4ZuRm1YzLAlbXVJ3Y51+SHwKcCx j65yzKz0w+xqfN1EeSElY+gNR444k0Aao25Y3FQmZ/aDlfOXoolmSofg4d6PUOVDieCKZk ZEIPuMFljeOlvd7kEvhLcpdruemmXSbpmOkilRtO6gJt2OWuXZH4CELfdDWhNU9f5SpBpk XfszDLONqlufD4sL904dc1ZLdi0lpo6O4+lLU5AGtNYWXNRcHM8QkR5SpddJjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=iDIc5D78; 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.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=iDIc5D78; 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: 727D4D1B4 X-Spam-Score: 2.19 X-Migadu-Scanner: scn1.migadu.com X-TUID: wjDBOxZpyZtZ * 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 c855cba347..ac4fe5c578 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -157,3 +157,27 @@ library.") (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" ,tree-sitter) + ("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.32.0