From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iKdQNJdsEGF0KAEAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 01:45:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QPr0L5dsEGF1PgAA1q6Kng (envelope-from ) for ; Sun, 08 Aug 2021 23:45:27 +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 5B716DE26 for ; Mon, 9 Aug 2021 01:45:27 +0200 (CEST) Received: from localhost ([::1]:46220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCsTu-0003Nb-CD for larch@yhetil.org; Sun, 08 Aug 2021 19:45:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCsTY-0002uu-O7 for guix-patches@gnu.org; Sun, 08 Aug 2021 19:45:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCsTY-0004fk-DK for guix-patches@gnu.org; Sun, 08 Aug 2021 19:45:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCsTY-0001Eg-9t for guix-patches@gnu.org; Sun, 08 Aug 2021 19:45:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH 25/31] gnu: Add rust-tree-sitter. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Aug 2021 23:45:04 +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.16284662614612 (code B ref 49946); Sun, 08 Aug 2021 23:45:04 +0000 Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:44:21 +0000 Received: from localhost ([127.0.0.1]:55046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsSq-0001CF-KU for submit@debbugs.gnu.org; Sun, 08 Aug 2021 19:44:20 -0400 Received: from mout.gmx.net ([212.227.17.22]:33013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsSn-0001AY-7Y for 49946@debbugs.gnu.org; Sun, 08 Aug 2021 19:44:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1628466251; bh=2gRDpeP3TIggo76wJJgVfCISnS6/NKTnCc1jl0L0k4E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=j1OCGimTIyggE7z7vlth9ULpSca+lq302ftRFDAXBAgeYew66q4122/7hSUSNW6NA 9lmXXuAC28fdKoewidcykyXZ3/FfynVf379YFLqreyDECnW1u4jIloVCLEwNWSTg7L zmvUZiffP9Pe4upoILd5VD6MQvL8t3T73Ej3y0SY= 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 1MIdif-1mIdEk1dAr-00EeGb; Mon, 09 Aug 2021 01:44:11 +0200 From: Pierre Langlois Date: Mon, 9 Aug 2021 00:43:52 +0100 Message-Id: <20210808234358.7241-5-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210808234358.7241-1-pierre.langlois@gmx.com> References: <20210808233354.6745-20-pierre.langlois@gmx.com> <20210808234358.7241-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:X1hd2F1V1cH6AR8HFZTxdTtkbfsjAo1cQlwaBe/dR6ljAP29bew yqapIL88k8tE039jhOFAfxlnvS05uSZEHZlxGJGVvhEhuqshfp9dyILlZ7MpXypUIOKuhFF L2GxXE+JYO+v6IDlasqSaZ0LQQvHurFNxNqE3uAmfm9N92QjZ4skCqwruwuCm//4/4Vedfc mNR+XYogO781rvSj6eCnw== X-UI-Out-Filterresults: notjunk:1;V03:K0:7b6E1Kwcrs8=:TpUexEkAjjo4k85MQ9QET/ wJEM0Rf2VWBbzVt5WRkCVb06+TRpEw/r3eg/i0tSNZkCdmgARfxB2o29FfiUGxcvODIlBjtI+ NR27+aYZTNNzQE/bdYSclTVOTklkaeZmfDCU96PTIwKGMztGspgP9x7Q0Z9e4X2gaozdwI7/B xnnNJC30sT6tjr/uhFuA2RrVbrdsjCXrsXFv20fQcqGs28w5pWyxeRT74EhD/nVKzg2edIees jvMfpUlK0MKLmevCZZczxqkL5+DTi/1zNCFcyf8uBleHshcSUWoNl82mRqeWQ1kPIZ+zg3kJu wSy/TK/XpJKjcBoCXiS27tDoYQUdOQaAAWh2qmq2ZddDp0+6PD+AG/larT6CNRmICzafiTsHB DJv9Vb7Xbf6rcThPzha9XcLYE/SDnwI2nLw2qckYE3Sf4N4VqCaU8vOIXNtK5pzWy2asLwuru LsVstTdle1hs1SfDLLKqaJA2G2xE5NMXMnIgEDbIow5AAKCG49xgt/PezSo/gqSctGuX9/wDL x4w9qx4pebvDwP8kJbTKK30YF54SPhQPjW0rA92DLO2UqX79srYC4VL6CY2X0ZSjw1gYZ2za4 P5qSaCBWM/gufHiGUSEMCNorWbSuxNNc6jWjfosRT6kq+SCESqI3413YgzCxLYcukFJSOTXnl bmQliTRCoSZwHurgvCJeTpSDbqRL49QTntQWxjL+7ZBFhoJNv3fp3Hy8isBYISj1y/rTq9psG iK7lzjW4C400VlaehffUdHHgW14/6TBJjxagQH3luLKMk126t6HjhVyk3OxvJvWwV0Ms+lAC7 AgfY5l0j3W+FmMrAjgfHandxFM52rvRNviPHy8M64L5KV1RDM/yZKjr78XQXGQAIoUTqcbP3B c8mxc/FEW0BfabLCadzeGwVsUGPxuLAi6vGAAQ3Lecg4CyBGWjXgadT5pdEKtKcRO4fINB21q bi5oi2fiyvL30lAF3ct3M0LgZY/BUOmrYkCEJCjKFSDqp3GG+whJY/X7Q/h6uNPO6moX+n1x/ oYSIT3Av07ROLKRBSNzOBfnFZrjBx/Zk2E0giw7VvtVdge/G2CS99KVINli8TfvgCJmRuQa7B SXBf3xW74PIZ4kgxOGn9tQ9x/guKU9FuyCOx0EyOFKrS4U5ceuxMGKP8A== 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=1628466327; 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=qAbUJsIdc7whcJMdb0oHhpbtOan9WWSTfOhzKvVhhJ8=; b=XRfr67TI9Pe+E+KU4xCgnPZ5jF1GCDFnbeE1CyEkoKIKqvYCdQ7cIAD2yalngav0wk/d6P fCkNp3IOxyEXyEXBqdziCFWyUTM6izhNrQ3FyZLS+Ycs39Sz720DpU/Pixalk1qDdqeC/K nxCY1U0EX8Kvc4IrT0JYtveK/QN8XlZ7pgPWmha5BrbgYZy66uvhggnDRO8nWGMGPBsxTi /tzq6sWvsae3j5j2VhuXy3lq9yCUqv8z1ajU0OT/P4ennCHQXq5/7sVC08ZLEIHKmigEkM sLYQLfbXmB7ZRy8ruTErtsV+rmI7AkxufbCmQHd742wdzZbnaudVnCyfKxfE9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628466327; a=rsa-sha256; cv=none; b=WFQjod1vtlkymftXg4Udmum+CdkeuroATZUd6l5L5ZUFLN2RJEBDAXUVgrR+nGoMplk0R5 ZXG+JH+JcXbYVSyiwLlxa4W1Qroj1xdFafkApX2QQo5m8AknqU6ztWpGfWa//+2H4+LjHa 4JspeZpo3ryr6+mYCrrmRGzDn4/aihFrMAUKbGg9rFOIqoxVwcsg11ESbGjX9oeaygZtgG tbxxh5G0rnlQC7Czh7suD/SsuPoP5H10DiDvLkSOAQ/pFX8WU+Rq7OqmZEa1Qj2ORAN/RC f130hqavT15jHqJDjWs+yFg010rRta/Mnu2s9je6FFnjQ4Kr4VzQLZQPrqu+Tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=j1OCGimT; 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.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=j1OCGimT; 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: 5B716DE26 X-Spam-Score: 2.19 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2AtRi6/qG5un * 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 0f1946a77e..4817b293ce 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -20,6 +20,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cargo) #:use-module (guix build-system node) + #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix utils) @@ -101,6 +102,32 @@ This package includes the @command{tree-sitter} tool = as well as the runtime library.") (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.32.0