From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yLYMJIdsEGFyKAEAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 01:45:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UGaOH4dsEGEnGwAAB5/wlQ (envelope-from ) for ; Sun, 08 Aug 2021 23:45:11 +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 47513D30B for ; Mon, 9 Aug 2021 01:45:11 +0200 (CEST) Received: from localhost ([::1]:45600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCsTd-0002uB-Sg for larch@yhetil.org; Sun, 08 Aug 2021 19:45:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCsTW-0002tt-V2 for guix-patches@gnu.org; Sun, 08 Aug 2021 19:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCsTW-0004f9-Oc for guix-patches@gnu.org; Sun, 08 Aug 2021 19:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCsTW-0001EC-NH for guix-patches@gnu.org; Sun, 08 Aug 2021 19:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH 22/31] gnu: Add tree-sitter-rust. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Aug 2021 23:45: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.16284662594562 (code B ref 49946); Sun, 08 Aug 2021 23:45:02 +0000 Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:19 +0000 Received: from localhost ([127.0.0.1]:55035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsSo-0001BT-Bv for submit@debbugs.gnu.org; Sun, 08 Aug 2021 19:44:18 -0400 Received: from mout.gmx.net ([212.227.17.22]:59061) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsSm-0001AU-HD for 49946@debbugs.gnu.org; Sun, 08 Aug 2021 19:44:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1628466250; bh=KWXxqbkkWjv4NWExqMuWMs0uYdyhLyDXMG9fPaI1Wug=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=TGkC4bl4zJO1dsLSWHflN4+HBV0VJUrad4AGJey5q8Y9STU2Ffr06BWR3uTjt7dxk Zj64+JOpMt++nXGkZZ+IKWD+YWDX4QlLMeRglB0+2C0xB2C4O+GXd1/Whsj1JHW3Xh 3sMxaWtxAPVcFn7PInaREXvrqE+ZOIMfv3ftc/Js= 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 1MhlGq-1mhpZC1yuO-00dqCG; Mon, 09 Aug 2021 01:44:10 +0200 From: Pierre Langlois Date: Mon, 9 Aug 2021 00:43:49 +0100 Message-Id: <20210808234358.7241-2-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210808234358.7241-1-pierre.langlois@gmx.com> References: <20210808233354.6745-20-pierre.langlois@gmx.com> <20210808234358.7241-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:7nWXM/xzsT0H1dlyY2SGw4mvoj2TQoNR4Qzy/4qN2n6TKweRTky Mh07MWT3vWrk5nJjdBqKS2hQc+B2wrIsfSaEsHavei3iGB0YyFXqASsabRFLw5pciZZa2gw VBbRJFtNCaOt8LKkECm8R7mPuDk8Ub0VNTsI5B0FJJmbZQ7m4DBa1OWWo3z1aBGkKGWKNfO 4DHKW5JlS91Ofqa3w3PUw== X-UI-Out-Filterresults: notjunk:1;V03:K0:eGKMR3EEHOA=:NhmfjGgJ24HpVejdQoelf5 mZBaafbENaqVY50Df8iOwEAkywrGSDOszsZlI4aD0jpBFqKXEoPFRZ/2xB4sHPyl3K2ZLL2Ud FVedTQwf+pEilO1FhBfX0n3Jew46VXUc0fTGHUt/6lpZb9MkATXCIEjmbCZxDh0bEXXi+phZc IpQDOzfHjt+LAbdNLCWJ2041GUev4upNENpqoLVIn6EW1x0/19ODRFgEy3j+v8fJWIf/fvWE2 jimnu/TPIvrLI8a7OFFcB1lkn949RlejdjISUoxcgWQvNvwLwoC/8+9Dz79ootEO5zjHOm9L5 WQXqn91DMcgGks/FpqkFz/j5/9qTZloYFBDgqvdYLyxnZGWGjJ4oMs7AQ+vyneENGXjhd/2zB 1UKyDODfkdvFdVb95oGSTsqUyT8oQPBysuBhnXUQbnvD092DUIcgSinS09Mapp+TNf6zcQpUE uUvG8nxptm/3FkCh/mDIcSMVMEdhhWByY8JYxWUpOAxKUdc7rqu0WEh2CwJOtD2nwFamLdri1 IBQW3lkUNmQ90uuHLsKRF2up+YGeL9gld7TRbgHLx1tiK4j8/i05m5Q53Crj/4WKZrSstYLnk /ZZuEJepNwuMZTCF/5FeRAGa0uhDn0L/7btljyj/n8lof9VTsa0xRHSCZ1aa1rvwvVtc2FzcE KMHlC9aD1uFjWWvp/mWEcMWECgYYyJ3Me1E4tnVUviag1tcGW83MT/0ml3hzCS4KWQpRjqT+z c2BVLOBf+jYANa3bKTGOAdLMygcI2m/Oq8n4AWS38GnHA9JLFKwZYO1Iu3M0rqOU/vjTwA+QN bJ7ln9ZAhoUiNZWSYMoEr0x04aBKf7iSASdLYVPxTJFyvZjOwHgjcKwRE83nBliv6S+4Tq+U9 OQG99ySb+rJqVzQdTxT+xvp0Oec/cTzjVkNVtP5D67MTHFdtu0+3glg5dDUBboJMYnXUpmQna LVfFgDafOBeX1JLyUd5P9inU7INoalKulXVwItOS55zHR0slYHMEXtTFCc5pv3GQAcGKIvq0/ rhqjdUyKXgU6UKT1eV33lNcpiu3mFXf1VzFevKr4iIo+GMqHUi0rIncoVJXFaD3kw2L9B1f/Z rzoczQOtxowmPbNP6pakgreEf3iKaC94YnOe/JroMYl9vPOTryvJaJqig== 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=1628466311; 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=/KUHzbhfjgQzJEqC98xXRpZRI0l/yPowSdUaIdOhA4Y=; b=u2/RoLPvHFKVPbcNn0WgkruOF8S8f/193Q/QwVQhdZ5nLdD1TOkK8nxuWFoVOoGpw5DCEw kD3Cai//MzmGhX00fEKdzsTsynnZwzauHCHj2l4pkAHgwMTgcSVx0E8fy6yHw1aZb+HcVj sEL+sADxrD4HzldZSmRdEhoPqXB5vMlEADQeEGp7d/nDaJ/94dnCf7aQwVMpEiUTpsH5uu rezKg00+ARqYPmBVofuXtrdfIDalkoVj58QNsQFg1dhqTrUfC1Qq32+ZB7h2//J4zBU3pX W9CsjhSrwUpgYOAOkUeKY5JIBmwKD98kCiVxZcW05Fl4RbsPhYKJDjntGf9lZw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628466311; a=rsa-sha256; cv=none; b=P3hC18IdZptpoKzeldl/eGPfPg9FfQQWu78wAyG/iFG9qCCdX/ePi2q+KpYpdjYkhtl01U 5eDw1fLsVe/u5u97rSrZB79UqU6jpuejWW891WXZFV3Q2DuUosItwC1CoYtPcPvOmrnrdP FNWxnd+g+T6oAMWKkp2bXDYYLl6bwBMaGBiWl4nrTPVHoSeu1ET4T5bipavXMvBEAl4sBI lIMq8dlReIL6ueTlmLIkCp5SldzeDuoVa6TzRNthRxDwfFnYriiotOUa7Q51SWYkjh3jIJ yQ308j7bfkW7HKN01zfqj09/y0Mr4iXgTMTlLzPOPtvM0ezLIm6y2d0A0IKGZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=TGkC4bl4; 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=TGkC4bl4; 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: 47513D30B X-Spam-Score: 2.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: sy9N5tCP55Za * gnu/packages/tree-sitter.scm (tree-sitter-rust): New variable. =2D-- gnu/packages/tree-sitter.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index d7c3468035..6c2b2e7577 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -23,6 +23,7 @@ #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (gnu packages algebra) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages node-xyz)) @@ -417,3 +418,27 @@ library.") (description "This package provides a Python grammar for the Tree-sitter library= .") (license license:expat))) + +(define-public tree-sitter-rust + (package (inherit tree-sitter-c) + (name "tree-sitter-rust") + (version "0.19.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-rust") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "118vkhv7n3sw8y9pi0987cgdcd74sjqwviijw01mhnk3bkyczi3l")))) + (native-inputs + `(("bc" ,bc) + ("tree-sitter" ,tree-sitter) + ("node-nan" ,node-nan))) + (home-page "https://github.com/tree-sitter/tree-sitter-rust") + (synopsis "Tree-sitter Rust grammar") + (description + "This package provides a Rust grammar for the Tree-sitter library."= ) + (license license:expat))) =2D- 2.32.0