From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 gNdaDBewD2IBuAAAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 15:41:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2LLKCRewD2LuUwEA9RJhRA (envelope-from ) for ; Fri, 18 Feb 2022 15:41:27 +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 BDEF82FA42 for ; Fri, 18 Feb 2022 15:41:26 +0100 (CET) Received: from localhost ([::1]:58122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL4Rp-0005cF-Sc for larch@yhetil.org; Fri, 18 Feb 2022 09:41:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL4RW-0005Y1-DN for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59927) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nL4RW-0005Si-2b for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nL4RW-0008VQ-0j for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v4 11/31] gnu: Add tree-sitter-elixir. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Feb 2022 14:41:05 +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.164519524032516 (code B ref 49946); Fri, 18 Feb 2022 14:41:05 +0000 Received: (at 49946) by debbugs.gnu.org; 18 Feb 2022 14:40:40 +0000 Received: from localhost ([127.0.0.1]:53794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4R5-0008SH-W0 for submit@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:40 -0500 Received: from mout.gmx.net ([212.227.17.22]:49609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4QV-0008NY-AI for 49946@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645195197; bh=VJsdUN+bfzVV1vzGAwmqLHRk10gtWE/kYHPDYrChqKQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=IQi8GWOYpPLQ3SMJ/7apfgsSk57qLu6OSm5wA3OUlvJnzWzLvfCnjBSiBSQB8sy/7 4+tVp56H8dhQs2AqedVpU7cUrOUHRt/8qJ7bnycFTCqDaiFWt1cHkDvYAbBgVFhU0F f9sRmKkq4W8ZG/ud7Ok9tCWfwgdP3sR1skOOb5G0= 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 1Mz9Z5-1oFO2A1PIR-00wFU6; Fri, 18 Feb 2022 15:39:57 +0100 From: Pierre Langlois Date: Fri, 18 Feb 2022 14:39:28 +0000 Message-Id: <20220218143948.28989-11-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:E4hVVQkcUsfvNFl591+XGTeobS+Z8U9FHyP9Kpq4Pi5o8BnKE7Y z0ivov88R/kMBRtlgAa7pluxNGiYaDatsvyIVdihSD+352Ttr2rvTvwKwk3aoyCvisEoDwr Gkldq1e/a4xTGEXuOUhJdDls3nsSyHdtWnmuYIRJFT3cjuYGV8HAgN/fwy082eG6u+kMYnj p36j79N876lGu153hV7XA== X-UI-Out-Filterresults: notjunk:1;V03:K0:NVQMIryPM9k=:wHnZIBnq2D2aeKc3KaJAhQ lYhx3bz81wkZW7O7WMh4u2xiQ2MjIuW8jjt1Ng6Nvg38Y6giCUyJU/M40uN10RguCe63emOO9 QdFy/i3O6+3YO+umx3Z0CedkDympttTV/FVQ0SrNpiTKjjtReAlZCUNgcWCAT16nbjD8ctsjY 8dzIesQDRAmp8xRQAoVfjPger5KjKwrVZUZDvlfbj9bF4XOVu1MrqXMjcnONc+cvh+lG78AMS 4YyQ7r0lWujQe4BN1PDn348tj3Kwv1HxvzDQFpLscVLApy/kM8rHsjPnULNCQfXUb85pd8wWv mrvMLFbZP7XyJbcJlOrKJDp5S2kQobU3fa1JjTYpg3tWc35tP1cUJSngwr4XgYuV97/9fZFlM MXBaxveR+bGtMeuca+lLc+Km6i4nvk6PNhX4IrP9lHd5DM9OZKBW/uYFXdvhJV2EiXlJkKg1g Gq/7iQj2TOB6gaRLS2q5+B719M0cFqqoRhnRwakSH7rAUtFQfVu7vZ7/jjq7X52Th8ns2p+3s kLcfjuF2IQC96bGAsT/nqSy7Zd/6fcKIg4Wp47AgALmW/3azxAvfOjxMtWoLklymuS3bLahDR mrgiHQD/nIUwOieJvSss0k0DFINI/WeZopwBtOVNfTW+/jguImruE0JRjD2jYzWZOObaL2eeR ltiF9VKKbMJ6I0JBWOBO+Hbzo3amBDSGlD1qhWwGGmvAePymVwoWWFLdaFmukqgVZsYSrLR4c jk+3EWiGsfUqohM28BlDouOZIMr9Qt2DBvKg/M4+q1xnJ7Utwqfser2fgcJBAxt6VbS5PdTAp +C0cyl2oujy0ccQXgN7sqFbamj1IRrjOtxFh8TbZwX+5I/zvf/3tq9lw4VPTFClQpn9uS4/vc ZaGXoWEUeif1k999qtdrC+TGMNDeObLBkmAbMunhHQbklNWedfsRsR6Srm/LE9xzhfmZFPvtS d696/SbB+84aTgrwg1AvkptBvQeEykCj4upDE2s3wORX6K1f6mNLl28BhYAwgCxrglvMplr4O GDx6ys+xyN1rodnhge3PlnVrN4CNT1jRh7bX20ibdS2KqRivw/+YKptQRHMuxE/xIo0DjSSSa M7rW6l6gk44UXo= 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=1645195287; 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=XXO8Chs+EC5Cs1h8r6mA3qJLX87StVoKVZYBF8ab2hk=; b=LpHZ6xRdpR6QTxGLZZE8WoYmm/SA4Pdx4SezR3MI90hBLYvLsAdJFAUADUdJjs7WB6+p5e SMUI3BVjSUnSUL4duwALe/AqhT+hjldfj21rAEs4rprM1h97F8Wg8AUJxJnoiUuXgNZW2x 5N5bbkfBwd8P6ei7wPKDZym7oGSVB+8xgaUIne4Q8Izsfw3ZfspYf3OWzPfjn877GEM7In xL7T4dsaFzMvRLfB7JEXkbtmO5WIcjZaNDCZKZrqXZRG7rBm7GlY0U8pOXQWF1QD9x8pjx AO0Iedhr/GyaxhV20G2Th2tyJ6U1XIF3Enajrb120PMjSX3KjPJfcLi0qeU24g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645195287; a=rsa-sha256; cv=none; b=EOttUQOKgTHZrNa94+lvPgKL5I06MVW/Fukx7jsS98KL3sw3JURmm6PdOdodIQsmdl1Zsd dLhyTxHPtmto7ZcLNNKQhJDMn7R8uW6mBhk7Rs81DKNK8Uxb8HVVBagIZor3i/sAGvLvxj prhDFDrQtqoCCLLbpGCQE6iI0EFTCHNVDVrnskONqt2E0Ovz/zZSxMC+njNg/b/TM9OWXe Tx9QKqRNeQqAvXPx5kfZ6JmYxev43lZl5CrcJylEJznTDiDYEouMBQLKcjgkYGelGv4HcK vHzS69MJzzAzOnHh5Mh20+pOLQ9S2BgGP46Zf02arIDDjw1AHQeJlKRwvWauYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=IQi8GWOY; 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: -0.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=IQi8GWOY; 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: BDEF82FA42 X-Spam-Score: -0.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: WGk4uwbd7VNO * gnu/packages/tree-sitter.scm (tree-sitter-elixir): New variable. =2D-- gnu/packages/tree-sitter.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 5bb7e7549a..134d2768cf 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -341,3 +341,38 @@ (define-public tree-sitter-css (description "This package provides a CSS grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-elixir + (let ((commit "de20391afe5cb03ef1e8a8e43167e7b58cc52869") + (revision "1")) + (package (inherit tree-sitter-c) + (name "tree-sitter-elixir") + (version (git-version "0.19.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elixir-lang/tree-sitter-el= ixir") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0zrkrwhw3g1vazsxcwrfd1fk4wvs9hdwmwp6073mfh370bz4140h")= ) + (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" + "node-gyp" + "nan" + "prettier")))))))) + (home-page "https://elixir-lang.org/tree-sitter-elixir/") + (synopsis "Tree-sitter Elixir grammar") + (description + "This package provides a Elixir grammar for the Tree-sitter librar= y.") + (license (list license:asl2.0 + ;; Files in tests/corpus are under MIT license. + license:expat))))) =2D- 2.34.0