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 qKSoMliZBWJrWwEAgWs5BA (envelope-from ) for ; Fri, 11 Feb 2022 00:01:44 +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 2Ed4K1iZBWL+mwAAG6o9tA (envelope-from ) for ; Fri, 11 Feb 2022 00:01:44 +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 2FA253EB26 for ; Fri, 11 Feb 2022 00:01:43 +0100 (CET) Received: from localhost ([::1]:46780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIIRZ-0005K9-R9 for larch@yhetil.org; Thu, 10 Feb 2022 18:01:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIIMF-0007no-NL for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:11 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35441) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIIME-0006Kk-FK for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIIME-0000zS-Ep for guix-patches@gnu.org; Thu, 10 Feb 2022 17:56:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [WIP PATCH v3 18/26] gnu: Add tree-sitter-rust. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 22:56: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.16445337673749 (code B ref 49946); Thu, 10 Feb 2022 22:56:10 +0000 Received: (at 49946) by debbugs.gnu.org; 10 Feb 2022 22:56:07 +0000 Received: from localhost ([127.0.0.1]:57558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIIMB-0000yB-5E for submit@debbugs.gnu.org; Thu, 10 Feb 2022 17:56:07 -0500 Received: from mout.gmx.net ([212.227.17.22]:36375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIILn-0000sO-7R for 49946@debbugs.gnu.org; Thu, 10 Feb 2022 17:55:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644533736; bh=P2Vye6K3erYyoGW0OdWqqJ89HOPlecdQ8UmhHE1dNiE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=aJtb1tlkLQpgjKxjZz1iRjxLMfEcKWZEBIctTmfbFzxixLAP0k07zzQO+koi00gM0 xukb5tFTMYou6rC+U43OxGeMrQ6op8O1R1Hdyde73LjvdsCsyElNyj78ObMps/j1zM dLDXH16DT0upoJWi2GsvcGMZYuF7gJseTazKIgEY= 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 1N8GQy-1oMEps0KNE-014FdP; Thu, 10 Feb 2022 23:55:36 +0100 From: Pierre Langlois Date: Thu, 10 Feb 2022 22:55:19 +0000 Message-Id: <20220210225527.25189-18-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220210225527.25189-1-pierre.langlois@gmx.com> References: <87leyinxly.fsf@gmx.com> <20220210225527.25189-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:B8BLb03HqbTekIeIYEWNTw84XAAvD/CXetD2iqjIgQlfAdOrQnF eCJp1Cbt1XzMlX//npdjjkQOzJ1uw7vV8raGQUFkQ66gu64os9lXew6q17XAFLi3ak31m77 /9oe0wEXdpkQRAiRxorT7puYrpWmXMuu1bzWyY3hY4gVtELTs7My5q0L9ICKpr40lSVO9hv igMfz76WrSQduF5xhApQg== X-UI-Out-Filterresults: notjunk:1;V03:K0:REGd5smI0Ig=:hXVWPTdEGal9PekG234/Tb LrvFoPrLkGc8+RFjlCGFdZWiBNu93a6l2mrWM89aszDCG5vvUoO6+3pA8Jg0WpHP4jH43SeGJ V9ViMYtRipfdPR3fWaTTusC5lFAxNUAaQM0r3rQ2ibszbFEx1AkAzFS0QLq3jIIB8Z6SkJ7I7 x2+w2/LBMs4Zh4rnluyvs61n2Wr6QKCqtz4HjOA7Ky/1+XWDM7Ps9Oo038M/PwNAXbMq8QI4D +zqQBlmaFCrLR+2vMkJDWCmNsuFkMdBMN7A1MrfqMzUC5x1/oW/LA8FiyqRaOWvNq1nOhBJC+ jxy5KtfYzNfulC98BmMTFphLvdO4BHkqQ/7H02jQJgT+abHc7s6+LpdLM5n4vEhkqhqqwE4hU SJ2esbkg4BQrwJe+d/oYNxFbRHQDpT86EDdQKM+xlzS5J2IzxV1efHP87wrFDEOb8ffuCr02D ufF9zdXn5MxRb7CtL0vwJ27b4H/12dndW6Z6V9YUl6eopMUKc1Vz0npkEmKs7wdwy3O68KGPu ksisHTu28CyQPa2QiO8GVaCJFllIwhDZltoYguOIRzOiLzNt2e1dBgFOQmY+2+856W66DH55h c4Qa77qG1W60Vck9nI/3rgn5yEu5zUlCMsFqmEmCjcrrmPe50XEfNJ8gT8yFSqxxO9OY0oIJb Y04cehbCersFwYIJnJMnBxByyJgvIugBlCoCTxLKjAkU5rKs+EMF3n5clEKgIXuWBVkodtUvI m2lNrl+2wHys5lCM9rsGuZctJg4BCEUry5k5b8WDwkj3t8vYXqMh9cbvFsyzz/bMdO+7FUDCX PyTbACp7ritTsxGz1YgCbFo2M+hVeP5ENYvVpv7hxTvlRG7ui62MUf1/rH1ZIXjlxAzgNpm37 VrRNGijn5w/HbAX66kSaB/8R5EvbB5nJ2G7cuUh+P4cQdtOKNmuQcX5ghkNrjClp5mawwz2Re UAnJJxhfX++f8DEM60QL7ykMN0vg8zHU9dVpD+0inkt+VsvGKsrVNyKn0PlE3ZOTdF7u1JwcB JtJhH3AjklVIhhA1pcqc9xRGHw7QEzKuEtEn0WJGVMPtUaPOK7U/WIkXJav31pZmlCFGS+1Is sDr8xnSnTHWvYE= 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=1644534103; 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=9xj3TTO8UTUDBFPagthXsuc1w77l9xE8mSyI/yj7VJs=; b=p59Lqfu+XRyc2uoJhv4qg4TIRVbm0dI9hu3LWRnuiLJhf1TwkcVQdt7CJdlZDcQ3Tt4Sds b7VYGE8oNcfK98+YNAiGbJGy/f6RKSfBcsS4ent2SpQIC2NHznHN3x6vofkKZHVUKtTyvc 2rAHfCIt0Jsx7KSRE4R1NqKGXaMpRGmza4DaZhaLBDP3Y8Y0JvMLN6i30cImrihNHvKy/v vBBX4MaLG3PVqe/ZyWXFXJ4d9v8GXUTA2Ifd17rC5j9ccX+tIA695yzVG2aXK6aRnV0UU1 W0oWpb3f5+vlalhJf5MRW/8wrSWn9WzYUEAVHAf1QP5b+7g6ERkmgeKND/AUlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644534103; a=rsa-sha256; cv=none; b=hJB16KxjAj7EyZ2xGytjds4o+IItBqp+Nc9veRYk0fCsXF7tv8RFHCNCLQWkprPWhbBARl 2DuUbKZTK1klN915euU3y+AYWHbwAAzZ++bMcH6prIHPmqJ2cTa7d18J3euDguZdehwMYN 5lR0HSV6DcBL2wZnEhrxboGfix4SXiEE4oAzaz58VWuiZe7EKdMa17GNcBQfTORmZB3czH CCdnwwSWrF9mlpB/XsidSTHaS5pCeTJm3rZs5WkX9gauFutc2VKDmv7tT5ihiuy3dLn1C2 S+544GinJqWepSz5VTypPehCMRzAtARFuBGf9BxkU6jLaY8JPAl2v1E4OaDFRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=aJtb1tlk; 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.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=aJtb1tlk; 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: 2FA253EB26 X-Spam-Score: -1.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZRvyW5eDw1jg * gnu/packages/tree-sitter.scm (tree-sitter-rust): New variable. =2D-- gnu/packages/tree-sitter.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 05d6ade77d..63e558f50f 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -26,6 +26,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 node-xyz) @@ -470,3 +471,20 @@ (define-public tree-sitter-python (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.20.1") + (source (tree-sitter-origin + name + version + "174j5pxwf80c4xniri39l3a6bb7nq96g2s8hh5sgv4i7xvbpfsmg")) + (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