From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EEAUNxZiQ2J0nwAAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 21:46:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QHobNBZiQ2LteAEAauVa8A (envelope-from ) for ; Tue, 29 Mar 2022 21:46:30 +0200 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 91CFB18F9D for ; Tue, 29 Mar 2022 21:46:30 +0200 (CEST) Received: from localhost ([::1]:38852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZHnR-0006mz-Dq for larch@yhetil.org; Tue, 29 Mar 2022 15:46:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZHlC-0003if-QR for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZHlC-0001EK-EG for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZHlC-0004zy-Bm for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v5 21/27] gnu: Add tree-sitter-rust. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Mar 2022 19:44:10 +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.164858303819026 (code B ref 49946); Tue, 29 Mar 2022 19:44:10 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Mar 2022 19:43:58 +0000 Received: from localhost ([127.0.0.1]:33622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZHkz-0004wi-RX for submit@debbugs.gnu.org; Tue, 29 Mar 2022 15:43:58 -0400 Received: from mout.gmx.net ([212.227.17.20]:51565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZHkt-0004sV-2E for 49946@debbugs.gnu.org; Tue, 29 Mar 2022 15:43:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648583025; bh=oGU5GhNmmjVHWoWxSbBzS001lyNgSI3Rpa00IqykMjc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=QmtWp/rFuyb4u/aFQcd22jf04DNSNhQdGLkEx9Bwx/LqFel42GsmcDZS2ea/O2aQG 5PoRnHC4eQVuq+qrNvzk2L4BJHq1zboNW0LwV2ouS7sBIKu145YM+0e02JoJCb+M2i Lr71mqOvQWXA+IHR9ULhU4g3IFA/mIfEbqvXFz08= 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 1MQvD5-1nMJZX44l5-00O2pj; Tue, 29 Mar 2022 21:43:45 +0200 From: Pierre Langlois Date: Tue, 29 Mar 2022 20:43:12 +0100 Message-Id: <20220329194318.6106-22-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220329194318.6106-1-pierre.langlois@gmx.com> References: <877d9s2qa9.fsf@gmx.com> <20220329194318.6106-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:A93EC8zEsyfLXrRRT3/zxrkOGXz2t5IvgmcwmLNvDjge/O098QD E7wBmJ3xt3R+FEhJSwEtVtAnkwrRe0AlPOnew9J3r381dauNSewpATLP9oCejQt7HYBuhCa LNNrFnUBZ8rQtbaywd4MfxVbbEMgBOK+lPJhQs1wF3rt+b0iRnhrc5X0k9HAg6CEIfLca67 HOIeC+ytZN6mR6SV12dRA== X-UI-Out-Filterresults: notjunk:1;V03:K0:uW6HwssOuQs=:c4C3DIQH179bRuN9+6hRDy 3iendnKRKplBgoIAXfLNpZka0/ndC9m43tmiQ+vR/KCYgarn7pArlNCHoZq3QwlNRQ9t2yp6J ALkKRd6Asn8AoODNnwvao3kev8lSwt8bHTNQxBoZMP7/SKrZ2JHJUWvkUpeOwSL3shNp+3x/l oU+7Rob3iLYvU1vikSHxWAkhFCSf3yhIU47spYbxIVoTGqULzmJ+DCqzzFWgo31W2XMjwxW5I CFY1VKecYaaskzGDzqVYEaJhZuUPGEx0e+VbXyfsbj7EWzL9/53a2hUgZ2xKmC/kipZ0/LT4+ YKeqwy8BDo7crr894hXes29Mfe4UU1Y67gRjEpT6tDf1TXZgBy9XyuobTYCNbPmrtcVhGQb3H eo4q9BTY3IdnBtwr9IYYGxCROKGSBDJ8eBW/UrcXSuugBsZZVp+R2fxlBm5Yx9rPV4g2qf3rI tdPe9N/6wzSPxZDJy4Cbx0q4fZmRJk1W3GekJc+JfacpAzldq8N/73QJIgkjWRBxz5krvDjxd mbQcTIjK557tOFAO9rO4urXp4Sz7icIsEjJfNTIT7/n3C+xvDspJDYxhKwVqZ4W4AGU4ZLYVO os9p6eUHcp+de1G4dp7skFzz0DaDDENlkm3/EGwHKHyu6sVDT0ZnZyVh0x5YYSD3IBp+Uv2uJ UvwBdslCL3lyiviRknps6wJsGyTKDqfBg4NLw3s6B2+AlbKu4WaBtsB+Nf1wnOYNJQh+UWgwx NzPqCElvK9Uwe+a9O1ZXh7lyrZJc7HVqp6MC4nXxtplvyIgF8l51+crO6adh8qlJmCqJj5z5e phPbtNsSYQpPXLg5fPk29fPBN34kmdosevZ9jTVkKg8PrtNvcSCB2JYFlySRskbv5cXrgjCi4 U4tjCd+jmbqGwiYMzLf1AAXYRqNVbwAHqdxsx1Q8LNhgxbk0wLDBExv4toSgiLkERqRT/Jjy3 Py4beHkVFTyK5TFV42GrJeOOv1wdfYc2FxRUJNqo8MwvYCLoNepo7MEOSsOMoJZf6N3pIvXjz hD9psBBDDxMGC2TgNSOCCVEyj6kG8NxMwELZerinFZGOGlH7a4NxVYYLV4cRV5ekbuCX/OZUm bRmjNYzZqrUPOk= 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648583190; 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=OJU5N88ffce14d/HTLMAT6W35Qzy9MYknrDR1zC+92Y=; b=WpPO9+cYnLJ/dP8eA+hRg/G4FPO3leMr9Ue1ydhb66aAQCCWFjPupHuvEkCrz7fJ0IeE8u lGOrELUnWvlJHMg/A30o1NDIh1DyF4MpQi72bc/rnwW4bVT4j+OBIu3Y6Kiwn5JXhFhziU MvAIp9zX3E7FndZgWyAeCLv8hOfUKxZjRJzKnrnFUyWoVY7Ett8CZtpIk62hVThsu7I1If bdpWPZcCVrfgLeRQYSWznZWI73+8B68qWH4UZmlHn/KlPJ//utbQW/nqX58mQBN8ANxsUs FN+HZU1WwNOu8Am1BJas7X7AGgczr+eN4xetsVSEMGf7lCDPrmhwh6AXO6KqQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648583190; a=rsa-sha256; cv=none; b=EEFN0SEQIXDPhm7ALTEL6cEAeWAhvmaZp9MHypwlMO7KzQ98uVAYGMn4C/KZnHquVmy32l Yo3uVuh1XnZMBY9nkiU0scSpMxINn68ALcOFwrHNRKTI5RlzNtq/C0WyVBGPN1+dHA/9wA ux1kZPB+/SvuN/u5NZkoiGmTqoFXdkIddj5Th1HArr9XtkGKMkr7PQXLDbVG5AmIgeUbEp UuiPNQG6B26TQZ3uY7ZG5pPBkKCqAxdCWdLP+fZ3XeXOMuYZVpi0OhFos5O0tS7G5xEfn5 102OlkfSw9XOOM90GntIqiPcGIPmGgCe76gDpL9cU3Oz5BuX2jYnJ7L+Cdx3Fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b="QmtWp/rF"; 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: 6.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b="QmtWp/rF"; 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: 91CFB18F9D X-Spam-Score: 6.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: KA5OjjUnGeeu * gnu/packages/tree-sitter.scm (tree-sitter-rust): New variable. =2D-- gnu/packages/tree-sitter.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index c7b1998253..c37183e131 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -573,3 +573,25 @@ (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 + (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))) + (build-system tree-sitter-build-system) + (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