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 OKU0GyZnK2EbbwAAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 12:53:26 +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 uIrJFiZnK2ErKQAAbx9fmQ (envelope-from ) for ; Sun, 29 Aug 2021 10:53:26 +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 EE83250C8 for ; Sun, 29 Aug 2021 12:53:25 +0200 (CEST) Received: from localhost ([::1]:42818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIRH-0000bj-Cf for larch@yhetil.org; Sun, 29 Aug 2021 06:53:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILJ-00067H-P6 for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44071) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILI-0001ib-Qx for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILI-0000I6-Ot for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 27/33] gnu: Add rust-tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:12 +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.16302340261002 (code B ref 49946); Sun, 29 Aug 2021 10:47:12 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:06 +0000 Received: from localhost ([127.0.0.1]:55598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKILC-0000Fw-8A for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:06 -0400 Received: from mout.gmx.net ([212.227.17.20]:46555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKp-0000Aw-7q for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233997; bh=bXsLp+DBWusk8VE+m6N7+Fdl8EXV2N2/DEL3B0dm52A=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=EtldtzHwU6SsZ8bAihT4COMztZIbfxuH0cEqYhkMyLdSV1CKZxSHQiaj9zxKrKDQl az6J2sIeT+LadOQxMoz/5+PWVPk7zO+PQ6sCv54j/0ZSVBfCUGkotGjHwLbmDBSqlB PVoGMycBxOTunuFef7J3AuaZ2UomMKFK5A+U7Lnc= 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 1N3bSt-1n1VCY1KyJ-010gWc; Sun, 29 Aug 2021 12:46:37 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:46:02 +0100 Message-Id: <20210829104608.3103-27-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:Q7/qhjfp/vEhM2yo//gOL3TFTKN+mvIO/ZQlj+W7YrAZcNaesGy HAYUF053NFUYP+HY24wMau7IoER+24tX6wf1bCNm6ckSyD3meLDGpRWhgUIJpJHc4NqLnHU S8GknOp/LqQs4bS0W3n82bsTu+PKN1qV+WsjcXuzbDSEAMdePNp94SIj2I1WkEUF0EvgD/O JnVyMnKr59uPbaff/qgog== X-UI-Out-Filterresults: notjunk:1;V03:K0:kUmO/jb1tAw=:6+nfciBmFruliin2lNfIJS II7+06ArnnCEmHQcc/ulwVVXVHS4l27Q3rhMLJT5cHJfMPempwGue/k4nNiIYEQQe4E07ggaw IvTPVtCdPA/HrNSdzvY/e5BKIwge0qQf2BHbbDg7QNb2cmFe6XSAEgeuh50BDJNCORGNpKy+d a+E+97+SgJnJrMV7R73X5kLIgSFK84ldcIVDv7YzPCOipu9oSFjh5LA3tZbqKlXD3glvNPCwQ qy9+j+Je2lGKsrdmWBQWpFG1yY1CSU444qQmyJou6OUO5eiJ/5nvnFJS9Zr7iSQy5G/wVXuqY xl7KgsVlKNEgZKJnGIr2GYMW15ZybjWSAdFrNkAg1SeerQk9ZugJnTWaAxlZOEeeNTJ99P4jz 3rXB93p8gkOX3G9rqCrDVG/209oiIOGLQ7HnlbHjgBpUYYELEInXPL2EGUzFAdFxGRyOJMeG0 RRWxqMvrFwlFcUEPh0GaLWdmRVdo1eIpGOWT2Cm+Bl2G3Orvsodce4HMW5AhF7KVRLa8dn6m1 lqt4/JLrBCVsyJAD9q3DK9LOlRJBu1UDAbVXW5Z26oJxEODxGzqG3DKJpQ+94IBWWnO8KQsbh pDwVKfcXyHqnhMXGd/4o7VTOBT+eLEofcemFC7KRkSOVBUVC/ic/AE+FGzElTXkkSlW6JcTMZ rwA1T5NyE7qdnVBhEoXdrFKNe7CkoAilo/jmF7/7u8IhIParKXKTNVEIamtdDQesP5wYPBgZC fndqz9IJTaVXBAXSr8nlJDEtH5FShd78McEmw+LaWQDmtRPEiEtBPH5PfzmbChhysqLr2Yykj GvJ6pLWGE7lOx3RamGv1QPC792mJK6RdE1iRZ+r/4w59n4GYkPC48KEbK8cYs5RNgDKC08WJ3 8ER+GEUcVHKp5f7rynUZ35KtpQ4/BJFk5o4ZE+dSpU94QHnerPp+lBalg/srCAvcmPaF1/zgt ojg8tMZ4/Ym4DOH4v4q+zNFKO3ljaVaLRC0Rov8+4D+vhwSc1HPdVEHQI0Wo5+e0XNguFAcT+ fsBRRpceynMFkQGBFBNY+MAdY0VXocgE+hi77ht5Lh2Lm0A1LF/qrSNLQlId7enOUoYR2rXFl 2bPzX2DjnHyoR7lDaFOHOlnwNio/xft98cIRlldGwC6zvLEGl7r/4ir0w== 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=1630234406; 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=dgUOuDJNej3ibNwkth6kDTn4jpDmqT0Spse78nvEfKo=; b=SMyZbaLEZ8sXktL9ITlWaRfp9COVQpZ7YwTUZMK3AIWXbS8zgyiLOgxGfW1GJC2su8nr9C ERnVFG2eXgMU6IyULtGYwunUSsXe5c8vUj3BU6tPqVoug5wEm/RrUMQkc3eyB+5qqB0tbt XljO60hBKg+1fGhVdxKaDgI6LulbRoHGu5r12t95Ar1mSH3MCNCgDVzdvXOkPpgrC4fzkn 6xtjhcJsgEwiVXNZUxiL0ZfAuRk39cMVzWod5rg/nI8wKd7JKjEPAm+FENu8r/JiYlgi+o rJ9dd18vgzyU9ysDP/qepR2LUGJOihUAnZxYKq9Cz3j3ttPgUV2RunG/NQ8oXw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630234406; a=rsa-sha256; cv=none; b=RQQniavQukeEFO5uuR8ujfxMZTmaHkQUKM4K4pKhjoUY87s5uMc9SXivS/0oB8v+jm/0UA 4km+djsG+C9N96ZMj6CfAMRBrV5h7Xw/O8lEmeEFKsVAJXmcYXwt1uhkdpMLPcJuHfey1q gwA4A1B8ZezcHMY76lsBcKkHbLf6oNC7fKlvd109ob9abAi9Og5tK0Qmz0KUrZlQttp5/W r//Gymw8JY2idrqQB5iaNYT9sUWH83eKDYs7WVKa5gIBMrdr0X7q1MWz2N30lYoJNKXOk8 Grmb8c3FFZehY3Ltb5pvIZ5/FmOM/5WUj9Oi8xEdQhkEr+WtDNblZmR5g/dJeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=EtldtzHw; 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.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=EtldtzHw; 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: EE83250C8 X-Spam-Score: 2.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: lu4Ul6XVk6SH * gnu/packages/tree-sitter.scm (rust-tree-sitter): New variable. =2D-- gnu/packages/tree-sitter.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 001322dd84..3357fce4a5 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -21,6 +21,7 @@ #:use-module (guix build-system cargo) #:use-module (guix build-system gnu) #:use-module (guix build-system node) + #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix utils) @@ -134,6 +135,32 @@ can be embedded in any application. This package includes the @command{tree-sitter} command-line tool.") (license license:expat))) +(define-public rust-tree-sitter-0.19 + (package + (name "rust-tree-sitter") + (version "0.19.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "tree-sitter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1h6adq5kqf4izzsklch5lfxx2aisxga463zz7w44rgwnck16wwmd")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;; Running tests misinterprets comments as doc-tests. + #:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-spin" ,rust-spin-0.7)))) + (home-page "https://tree-sitter.github.io/tree-sitter/") + (synopsis "Rust bindings to the Tree-sitter parsing library") + (description "This package provides Rust bindings to the Tree-sitter +parsing library.") + (license license:expat))) + (define-public tree-sitter-c (package (name "tree-sitter-c") =2D- 2.33.0