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 MJ2CBUNnK2FAcgAAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 12:53:55 +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 oPYSAUNnK2HFKQAAbx9fmQ (envelope-from ) for ; Sun, 29 Aug 2021 10:53:55 +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 C3E8250EB for ; Sun, 29 Aug 2021 12:53:54 +0200 (CEST) Received: from localhost ([::1]:44564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRl-0001oD-Uv for larch@yhetil.org; Sun, 29 Aug 2021 06:53:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIPy-0007sM-VQ for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIPy-0005vJ-M7 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKIPy-0000Qk-K0 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 24/33] gnu: Add tree-sitter-rust. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:52: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.16302343051587 (code B ref 49946); Sun, 29 Aug 2021 10:52:02 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:51:45 +0000 Received: from localhost ([127.0.0.1]:55634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPg-0000PM-HE for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:44 -0400 Received: from mout.gmx.net ([212.227.17.20]:40019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIPe-0000OR-Gz for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630234297; bh=OSUE7uIpTzONfHqB5J/MkJGqtuZAscGHUl5nLVL54DI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=fi2GBTxpm4inqT9xpBgXHUp9IMJkR1sfhFeMJDPjikeJw7bOG1GopkFz4TLcwIBys vikhFx6zi6LvxZZyUWk/ukZebYIH2kPVj4aeHktEzjQcyRKPYkdsEdOGenr53RP/9c 3MPpSXX7xl4n30x0hD5vz+44Q6KCcDZo2NDJNaQU= 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 1N6KUT-1n4H9p1alF-016ivc; Sun, 29 Aug 2021 12:46:36 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:59 +0100 Message-Id: <20210829104608.3103-24-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:x+lSyW7Q8q5UCvVFDrKzDvweNNiKaqA1h+mdeTmpYIh8Jl+cpKk +dqOtkplP2/ENPJfOpkkmmhZQSLgiQpfeM8KTq2sotIf1yH989avf5Kz6WSXe4N1IUDlnUQ Lh+k06aZMD/W9t7oTDg4os3/82+ZzqxsATct5LbdMGeUu/HLeis8svpspDiP9NAP2aYPR0R LhK5HQGypJPFwpMFQaS7g== X-UI-Out-Filterresults: notjunk:1;V03:K0:MttmzAlWOyY=:lOIf5rzsalmhql4Dw0mKBK QJpaW2d9n8b67M46N+068mRiEOkyQw5WGdBUYkBVPyUkjklF7VNWrzLT+qvIFLDQ1S0Nqw0kY dY6GX062JrbtvG9JcBVjLeCeYOwV4k7SmUtH6h/uxSzJcPoJdIBcuoL69yP1aL+YZ5X3e0Go+ 1pBKnnkbbe9ilk68lbI9bINFJycur9V/mfKY6kaLqvXoarRyyLTQ7Bg0KHDQVwK2eadApVeZW JjhcrJGuS7T1DyBuiaZqKS1WKE9v/n+AKGszOAGuvse2fcVB4XB7Rtp0AnpKySueUhPF8HPK/ /NRYmbAdtsK0byCUCd97aqq9/T34KjuytzhGMSDQP9w1irZbyZm63CK12lSiela6/ng5bzsNb 2tMHVPLIdOdjaE617wI1AgkDiX5OODw+YoPBrh+UHvPb5OoT5kdt4fpg7DXj4pmqsaZ9oJPk6 4yxnZJP1+z0xPO1PhXFGR8wGM2N5Ddd0EaMhm4jXE7LCVyqLjBrYnu+cFSp2MA4Eda2VngZx/ ntbA/w3pFig61KlMhFtkoqC82r4kgMtEA8xAD/HgD51J5pTiycibbdrSUYCxp15lIb1PFfWmH 0ZZTQ1A3PpiF9iVeqfu36Dy8GaELfhJYdjPGjnY6m+7AgnINDrktgYn7LKhYvy8ZTKpkXWyRm M9KCdkhQDbCpW7hw8TBNK5iy0QZntA6qPnPZwNC3M2IAVpr7hWxMMOYcbXXeA90FVPVydh6zJ w5fosaG1VPy1U+xl3z4UcwYhALw89l6HYXyede1VcF+pO+hY+kwchFOFbw5OR5t68w2Us8E7A KdQIxNHzPLmELdyUQWVs3FD7r0nFzsPewJKLSNUzKq8XQyJUYje4B+zot9CbjnwBfYk1yT8U0 XTxNSAKegDMfXDXyTZWgHbJ7KjxzKooebJr+qk6wK1vuUgRW4hZIq6g1lNnAZ9hJPsSDFKcmR H2Q2C07UgROs++qVl3cSl3j/YlwkdU5BR4POoizkpXN9st637/5ODGm+04X13HbgRSC3c51mX p9o7/N8tpgvGbSt63DSK0q6u7uWI4DJ0X3cxrGx9cLSckmdLgI3cYVsDJNu7yKDyXXIzzLm21 bBws9a6uyQ9sWxBE2fPWJW2Zo9AeLYkSVSGbwu0DliG5TK1Ky1zE5XJcw== 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=1630234434; 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=DKWSBQzVZ5ECNoAIqKdxeqsGTaZkyuzwKIlvoY2YIX0=; b=R6dXuvxihoLSsd3gtmFQbCeAoti+Z4YGoVZMumMIXqN3QpYZNBUWesRo7+4IDxGZtRibMC 6PfaUJ26m+IXp/rYDR6+D2l8pYSCwhQPYIP3RIrmzrXEFbFgzghRZ3c2N2CoiaDeYl/ILF cY0o+3KcGpVQ1cUWpgcJv1zp9mVmD4CAL0NhKXJ1M2ujjWzEVBJKOYVW8+im4i8o4ayiAW L/dVKD71NXck7LXQqev5GkIuASXZtO+LvUHJK+JzDKmAXefOlpTRsDUTFCNSK/2hwxZbPH dWTqAacScIBKaLAIoPy4qHwHCnnIN6RWbxC/Tg1DR1gVjWtWdsyvR5AeSpbxQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630234434; a=rsa-sha256; cv=none; b=jBDgZnSDULgMcpPg1ons6MzHfBD4twLvaedzEqjN4YF+GOEmHvCZyCPselqJSuVK5uzAPv kpITDI+c1NH2XBVCF4gaWag8/rjolV3z0Q3vEqs0KFAU4+lFG3iyWqQP7xS+vm5j5Z4+b0 B4gGMlaCbvzjG2WQqRgRDFwxS8U5BxlLKQbfQx1TkEft6/pn+36isuooJhP8S3tbiPWiBA SlJZTCFnJwO6CNhwHTCMMYf6cIkx0TTEo5aAhAMGWBv6n/ttl1dtsPJj6hxf9fTmmqrjen NQ80rzX/+kAejfjLzeA9xi2X/ZeTUeryWtj3i9MZpAbUn15hPw1jNN++mTeAjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=fi2GBTxp; 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.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=fi2GBTxp; 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: C3E8250EB X-Spam-Score: 2.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: ni9HHWqwe2Qo * 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 ae8bfcd9ff..8456a15607 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -24,6 +24,7 @@ #: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)) @@ -491,3 +492,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-cli" ,tree-sitter-cli) + ("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.33.0