From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aKF0LJuwD2IYoQAAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 15:43:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uDfTKJuwD2KrbAAAauVa8A (envelope-from ) for ; Fri, 18 Feb 2022 15:43:39 +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 6C0B12FBBC for ; Fri, 18 Feb 2022 15:43:39 +0100 (CET) Received: from localhost ([::1]:33374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL4Ty-00083P-Ih for larch@yhetil.org; Fri, 18 Feb 2022 09:43:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL4RZ-0005gQ-Iu for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59935) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nL4RZ-0005U6-6s for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nL4RZ-0008WN-67 for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v4 22/31] gnu: Add tree-sitter-ruby. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Feb 2022 14:41:09 +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.164519524432575 (code B ref 49946); Fri, 18 Feb 2022 14:41:09 +0000 Received: (at 49946) by debbugs.gnu.org; 18 Feb 2022 14:40:44 +0000 Received: from localhost ([127.0.0.1]:53810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4R9-0008TE-L3 for submit@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:43 -0500 Received: from mout.gmx.net ([212.227.17.20]:46809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4QY-0008OG-TW for 49946@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645195201; bh=dBBgBvkWthiEN6iNvJpZXCK216Xa+ZU2nTsDnV6s6Vg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=eGQVps0OiTdKrixrcB4QZ8k6xG1qgRGimTzDBGsEyXvvSlJCtyOohf9mmv2+cI8kg iCyAVJRf2QxUShpy5UoObfxcIRTTGqm6uSbVOgRR0WlfyGyiIrONsxsHZR/weFPud6 qLW1ilBLu1DxExOzMMTzaEmySv7Te0g8KqjPNE0A= 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 1M9o21-1nO6hY01bR-005nzc; Fri, 18 Feb 2022 15:40:01 +0100 From: Pierre Langlois Date: Fri, 18 Feb 2022 14:39:39 +0000 Message-Id: <20220218143948.28989-22-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220218143948.28989-1-pierre.langlois@gmx.com> References: <877d9s2qa9.fsf@gmx.com> <20220218143948.28989-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:bacu7K91GMa64ktG5DX5ubN/5f3/5ztN0wmc4nozDAmbt8X1dlN JFvvg505TsdEuN88NPbcyoUCzNUfMzRZght2D3Z/yp5m2TdICEneqIvQh3gsP4DYrw8oklP whdy3JTicYg+b4qLjcbLe3/MX9Ra1DhNU8+tg85J4GWBMOojLCXM6Z8EcYOpBBWnMNN+tkQ UE0TWqwyzS41geQj5Lslg== X-UI-Out-Filterresults: notjunk:1;V03:K0:7/1fb7e0mLY=:6PScilyz+NQLc85547jGkf unewJ9fyU/bUDzyb8bX0wNCIJMF898DznBwqYLoJLjqUnD3nbMA3/FHyH08BUqEdo5RrWklzk A+NRInNSlGte8N8c4mnnTShmMxO93+vCUk8raSGagQV1cJ5NAp09F+aZZGx1WSp65Tn9cB5kO UHybC/MJhcMgTOp7yt20gt5Z1wlFB6T3beFI61UFO9EEGeTJStz7nm5dZtCgvF/V4TaWHZ4nn EgqlfH/Q//A3HJlxZzoVX17YG50jL0NQ+aYrjHlSExhDJIWHkDtmEbEYP2W7rGujeRVop+n9t eFflr0yeG/ol+k3bZrWkyY8y7NbE1O02Bv5BApJGIpb0n9YK/PxbBpcEskhWD/dMew2TqREVh mdQwgny0kQdcyq81Eo11WE45BIggfYOfU5wmTx6WINjc7zH45y1fe/paUi97SWku+bfuaNW9I drO8QHtn9J0wzTvWsk6nEpQwnauckPYYI+Dq48bA1wE/y/DjArQmXya6ae7PM3EcWl/Wr1kB8 YTUilFmXgi0Lvsh54hrkKinBcD7EWPN13KDF20hfPFFltNa7kE525ifMWT1RhnK4CUEVRV66d VzZUssdXfN8iyj+XZTHokoOJkZatl2b7fzaLrmb60bLS9z5xbrHGjNvOnwD2dEWHUYNRx+7Tp SdSZnQZSfM3qxQ9raZDtk+ktVgMTLwv7K6Se8+dE7Cb5STWbQ1rWySvnHQb/13tooO1ml46R8 KW2a7B/DNiKJaw/gKALYEQVBiDSEixK1K2znBTBs1taYfHO7DcThTgIULN9sJ2r1lDVuzEXrv f05Tb2X72fWzTrp7d/OmaMMxbjHxyKJlQUAZzgBCmGAiK1Imi6m4GNE8ehVTa2OITP6f64nmR sk9fPOwO8wsB5zr5nIgmiY8gfZ3PSTCr6mBdeqNCI67z64KXQiS7z3hcmV1lTy2WVQakzDOkO ruIaY31HShJqMujHJx4fH0sS7GAKpw5x6yK7IDT9XojOI35JzC+LQWTvTGVkj+Uwg+5vAOGmb iKABmpkBcclPE6v9N0wHMavFmsPtzU4qXVWV3SOWh3UzGzAGHbTJtRWYtXErsX6c4V4cWuqJ6 rDakEjMsFm2w8w= 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=1645195419; 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=KEC6UMR6AW6YJJZCRRdX969c+U4YwTyxwgTMu2Jzycs=; b=SJHSuTvreF0d6vcZ/TEQ3Txovu+H+Tj87+n7RgoY6GvTqyRfa/iX1wajiQg2f4nxx3R+7z x5EpNILPUv1H0exx7dkaOZer0vwRinnJ8GTcYyjNfEYXuqT2T/XTOiZjSAhg56HCADGT/j pkcxdttTasFie5WvMjcQ5GHTUDOKTzSVi+f5tcjPS7e/P+IljB/1DAFDQpLKxdcIm2eK4o KKjWSg7dgSPNsQV/AsVKreVMoMTPPQNvAvWRnwrpA35O9suYrEW+jk6eoOtZrbg4Qea1EV BMCY/V3MT6zzacqRgyE/xJcc6FD6FHIFtELccvO2AcRUWqojbacaK0MrK9ww6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645195419; a=rsa-sha256; cv=none; b=LYRmlg5cxBHb/VzP3gbqmVi5tOX1Md773ud0ypZDgqlFXW1zMP0fxOM49WOqRumgGfzsBE WY7IDuf10HDsdKlSgB2R8eBuw/2TVU7fJ3LXJt7BIBT3RcSCGcOv7wGpSHnEir/feo0TiH Ue/YwuFJrd6Fa5IYheGnI38s5M2V3+VZcEDs/iJ4/rDXKsY6L6j74iY8vcej92zGwfM3iG sVhSpKKOVzBYgaeLyfiDA8L7WqF4+PPbz2bGGK5D9NA5rRREjjdbBJA1DDDEkKSvqAkrlL lo+pcKSQYVCeQn80pHtKFMdZnYfIAydHgHIDCdIG2ytzq6oE1fkdGrfYsyUBKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=eGQVps0O; 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.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=eGQVps0O; 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: 6C0B12FBBC X-Spam-Score: -1.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: CFhh3VtbJHhZ * gnu/packages/tree-sitter.scm (tree-sitter-ruby): New variable. =2D-- gnu/packages/tree-sitter.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index cecce9af50..6fc9a0c91a 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -674,3 +674,35 @@ (define-public tree-sitter-python (description "This package provides a Python grammar for the Tree-sitter librar= y.") (license license:expat)))) + +(define-public tree-sitter-ruby + (package (inherit tree-sitter-c) + (name "tree-sitter-ruby") + (version "0.19.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-ruby= ") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0m3h4928rbs300wcb6776h9r88hi32rybbhcaf6rdympl5nzi83v")) + (modules '((guix build utils))) + (snippet tree-sitter-delete-generated-files))) + (arguments + (substitute-keyword-arguments (package-arguments tree-sitter-c) + ((#:phases phases) + `(modify-phases ,phases + (replace 'delete-dependencies + (lambda _ + (delete-dependencies '("tree-sitter-cli" + "nan" + "node-gyp" + "prebuild" + "prebuild-install")))))))) + (home-page "https://github.com/tree-sitter/tree-sitter-ruby") + (synopsis "Tree-sitter Ruby grammar") + (description + "This package provides a Ruby grammar for the Tree-sitter library."= ) + (license license:expat))) =2D- 2.34.0