From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 +KrSERSyD2KjwQAAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 15:49:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yMR8ChSyD2JyPAAAG6o9tA (envelope-from ) for ; Fri, 18 Feb 2022 15:49:56 +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 D69A233FD6 for ; Fri, 18 Feb 2022 15:49:55 +0100 (CET) Received: from localhost ([::1]:42274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL4a2-0005vH-Gs for larch@yhetil.org; Fri, 18 Feb 2022 09:49:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL4RZ-0005iA-Vk for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59936) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nL4RZ-0005UJ-Kx for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nL4RZ-0008WV-JO for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v4 23/31] gnu: Add tree-sitter-rust. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Feb 2022 14:41: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.164519524432582 (code B ref 49946); Fri, 18 Feb 2022 14:41:09 +0000 Received: (at 49946) by debbugs.gnu.org; 18 Feb 2022 14:40:44 +0000 Received: from localhost ([127.0.0.1]:53812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4RA-0008TM-0K for submit@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:44 -0500 Received: from mout.gmx.net ([212.227.17.20]:57007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4QZ-0008OI-6e for 49946@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645195201; bh=PqHFfoXzwIj9gC6v2bUUnfpIGvrN1B2QtpMAp9GgQBk=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=OEKN9hNbzW1F+7STHUUeDmi8k7VlSXL4iDhJZnTvr9oeQn0bb6ix5Jg3+9mZQHXEX Xga30UcZ3BxVRfi4RsDucyBeoMVitnzHqIuPzFxYN5KtwNDqQ5RRq8+l9TS3rWc6k6 nMR7OJSpdWmLGSrxfCbTL5QVVYlOrDO1X5g9427k= 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 1MirjY-1nxRWH1HHw-00erd3; Fri, 18 Feb 2022 15:40:01 +0100 From: Pierre Langlois Date: Fri, 18 Feb 2022 14:39:40 +0000 Message-Id: <20220218143948.28989-23-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:31dLGtFUaBz8QV23qB6s8XsijKzrGYx3HSpKVYFsvnFBHI3Soeg XHi7sNxu0F4SqlObreQz2nrWg/XF+G3I6PY3eC4i8iW1rBQGwA8KLeoolR/8vscHqT/F+E0 ZXP0qImkNrw287hXZOjTvQ4GoW7fsxaP7aHIoSZv9QBELzrGzA18xA+290IVy+MyDlxhA1f e9oHUAMch8u6W3F9WTPSw== X-UI-Out-Filterresults: notjunk:1;V03:K0:S4wp09nEGPY=:/5o1cSuU9Y/PhuQAaMTmhN YVEPPpqmkEQRQOXe/ebcdqKjFVfWkNdhDTLiu9B3ieZgbalygkZAwr4AQget+IlPkmlAvH5ix K0oxrKGu2Y3m3M0Mx73mcHu2l91BRTx+kHWdNHdqyZAJv3K2Mn3QuSWf8UX44Z2gtyjP2VHcr +UN6AojIU8t4JPBKNlzIGfGunSZlXjADBYdcikW6v5Iv0GfqjN8OxxtVBXF2UGI96MSzf1bLw JvLUGOkiflHVLe8YbpsFKn7Cr2Ev3ivnWBoJNQ14GUqFfcnrW7ABuEZxwvWiBvqQ4t3gd8nDn qnsiohqlMKetYNjxQd4PTN2jeK1fwbDFglTGJGUlBBhSMCDokTpyw2ujmigjNyrPrvfGmSh2O HfULCKhVyMcKuJZWj6/JZsJzq3Uqo4F2o1dc/gII+1dHp0m7nudT0ffpHs++hkt4A68k3HXdd fXZLm/Xf1EPNUoH08/CpZ6qSbC94GtJnImkQPx8ZvKGuGmo+NClMu20nROoVABKZ/FAVRf/nh jcbxVWtDTrQnhXpWrvq8XU+/c3jslDQCqzG0o/LZ3Mt+WD5KOWuhjqQjXNn67vojFrEIRtohd FTKtwXP2+XvwXvAX13ABL292FsQJy5q9y3pA2sQ78IN0yC4Ml89J3bR41bOHmJtc+19W+vsNq Pc16QYZf2KiWhHy2Qk6QBDrBsKaer/KWG8A85yVgyLDpdJ0hs+Ouj0XpQ1572ZaWjFmY7OtG3 CTRepDnAS94OMf/Tu0XxoXhGGgcXIeozWjHLZXT3jeqGhC0WVUiwCcaL84DOJ7hAQJNkX8c4a Monm0+p5kjwYj08N8n5vbNQkVYnb+5fbPWy3Wy2O/JxRt5wEt8cue3bWH66LjilYvTDaLo/c9 J4NaWdfqRlQzk7iKYdZefh/jmyuEhBTfDM5YjfNCkn1vIeRQ9UI/gBw3l/xoODjAOk7W/u1Vh LbnDMo8HZ3FnjlzG79zmRqiEz0mR5SaiYe39+bpM60OwM/c/MmCurkZLhM5kkyIX7w/XtlrEE 7U5SMeYhHq2bIHaf3sRNzsBOt7M8KrUIkHLSuXtvDH1tW7MJGNEG4jBe/0/xUHldXC2nkotTd tEWfrANdZBwVfs= 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=1645195795; 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=PeE6SwlLLHvohKg3TVLmaqz4i2ITgtIz+y5+CMzP8LE=; b=ng+fidYZhzzysh3Eah+IP8EZHvzlxfBwFNFKjZeTGhGIfqvUV6RrL4qK0VP8ijrcz1G6hb NrRsLhruo3WxDHk1td9dxCRTToIQIegtb5Vid9G8aHkJ45fanNGl6rfvz9IUaYayXWKVYH r2JN72oosH/7rHOV4gdmei+l7v38T1oFUzF1CuRWZyKx0HVq2JuxYowUtYp6b9Vd6rB9Zf QjkEE2t1OIlKiZzcKVS8WcEwB8lNxp3cvw2EZ5u6BuAZbqijDmI3Kh06ktmOwjehvolhJp /0uPlOywwhVCNCCYk+T+P7G6xyymjYwHhwrlb73eVbdgQu1mTuD1eRzyucNZlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645195795; a=rsa-sha256; cv=none; b=mR4z5K+b9T4bzlA80YQBRNFMxoxTQkLAi5IW7YLyJ0go+rKg0kQLRpjNkJ7Km8tcIvj/V5 sBn8ZRLVNOoCw9BXtct2Nae6E5BK6wXvymXwi5GGYgD9rH1ELKPHJ52JsCQV01tuEJwupZ zolws3xOLNLhUIf9hVcl3teyFBkYSWiP2I3atGvRDGPzk/BFg6xq0wKzO1tWjcfyGU9XJO 5OLUpg8/Im8qufNhQaoURLZA5iSf0FoTx0fwF+JMrhCZQ3Cvo/ZfT38NJqLmdVbBfB4tzk 7hDQZDZBlTFeZiHIof8ORGDhce+o9/6fc75FG7n9uKf4B8c1a5lzPZF9GbhF+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=OEKN9hNb; 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=OEKN9hNb; 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: D69A233FD6 X-Spam-Score: -1.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: bGXLrcAap6yp * 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 6fc9a0c91a..f4df5c5335 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -25,6 +25,7 @@ (define-module (gnu packages tree-sitter) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (gnu packages algebra) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-io) #:use-module (gnu packages icu4c)) @@ -706,3 +707,27 @@ (define-public tree-sitter-ruby (description "This package provides a Ruby 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.20.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 + "174j5pxwf80c4xniri39l3a6bb7nq96g2s8hh5sgv4i7xvbpfsmg")) + (modules '((guix build utils))) + (snippet tree-sitter-delete-generated-files))) + (native-inputs + (modify-inputs (package-native-inputs tree-sitter-c) + (prepend bc))) + (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.34.0