From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +PxxEV6wD2L5uQAAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 15:42:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GO0ECl6wD2KV4AAAG6o9tA (envelope-from ) for ; Fri, 18 Feb 2022 15:42:38 +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 C8B36254F3 for ; Fri, 18 Feb 2022 15:42:37 +0100 (CET) Received: from localhost ([::1]:59904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL4Sy-0006te-Jw for larch@yhetil.org; Fri, 18 Feb 2022 09:42:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL4RX-0005aE-LP for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nL4RX-0005TU-8D for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nL4RX-0008Vn-6M for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v4 16/31] gnu: Add tree-sitter-javascript. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Feb 2022 14:41:07 +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.164519524232538 (code B ref 49946); Fri, 18 Feb 2022 14:41:07 +0000 Received: (at 49946) by debbugs.gnu.org; 18 Feb 2022 14:40:42 +0000 Received: from localhost ([127.0.0.1]:53800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4R8-0008Se-03 for submit@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:42 -0500 Received: from mout.gmx.net ([212.227.17.20]:55707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4QW-0008Nj-J4 for 49946@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645195199; bh=zxxQWIkw8qs+oBn0TKZSs1eVn0vk+ROb6ROmKrliY1k=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=RyViOSA29lhcNt2PPPHNBRNO8Bx2WC/JLLbp6tWeSMhzYgya5jdfBvRFL5/cZwXod cUeOtIBFu3SNw9pIJU9+L/nd2zdrc79MhBKlPCtE7DVeSGxX3EoajLCJQ3XZ2Re7bt xdmg5ImjNpWLEnAiPWUgNl/YsHsDXP9hmKQcCr9s= 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 1N6KYb-1oMUlT39zd-016k8K; Fri, 18 Feb 2022 15:39:58 +0100 From: Pierre Langlois Date: Fri, 18 Feb 2022 14:39:33 +0000 Message-Id: <20220218143948.28989-16-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:k7MBkNM1f1hwMAhhpqaZZYSDLj1p++2UMDuWb4+wnuzJasBSWBz BNIl+lVXcqYz55iGhgaPD0N+sO74WZnxjdW4iiV+a6PsCDsvU4X+eWqGtuiP8oEmEINaO+x cZlPcl+rZFX1pV2+hkFlgnP+Qaak14WoylI92UkU3mRxcwnvYmQU4OLKVurPbyReWTBiwVd Rl7dz8NbOsaXGVBC5T6Hg== X-UI-Out-Filterresults: notjunk:1;V03:K0:P1EUHWSMeaY=:WHC+OuTMLYwicQgMjIpBVZ udLQzSbr3Xx/H4Ox9sIfdhpZDYrNFO/XkyJVJP2JFQTKP+so3X9RjlI7FnSlkEOiAyPScxNT+ EdLrbgN2NR3n7DIodH8/6kN9TRs1dCuYmmF2oGTi8o8GD7/HSdHYQmpdjc4PUh8Zt2xkPYtWm qSFv+rzlhdfDEREuNVXCznocvdkkysDr8ejT3KtxQupRe3/QzceMgQk4mC/nmagUreWSDs+HE SFZvw741lcl0uXtJKcBI5s1wxfUTtNQOcHQlXA7FXBEYIoaiUqW1WNz80yHpcdQTrcmJXqETE umWOC5/zI0ewq0qwU3Bvrqr1vVntfbLTpcArmxBk5bvDa4m58aolc3iY+rlTYFC1oQvyaXD6K PHlmkQPx9cMr1imSvDkyiMbbyGnZ0JLNbW5dvQ1/Arh9f9FH63/nZmuPJGB7JJfF+RQH1RYlr +51rzPyPq9G1V1GG0gtM8DKES84wVInDZZrkRskcS01bS8ocu+ipJB6cWpKU+vLSfGmGWieIB 3zqFnIBNhrOOCYVTfdzXqcmhejTVUuAib3rO2XySfg5lVPXugkdg4L8JXk7khrCOctOZyVLZa oSscxOZgR4F0KphkELm3ImUC2xbOeVIiDPVfppMnWbfaWIsWWe0c/WTV/GnGc7M9mV9T4BkbQ cGF70i6R2nXODhBxzoR0P1ClqtFIbV+jui/EqiuJWeqPfbXGDZbHuLfGsyGyIhkdnkxKnPgwb 3mHylkcsM5D/NTl6qkw2JfB3jAMeAUkfVwVa4v/T4GiHjziq1RSD1/q0A+09ruO6lknv8Wmv4 H/PWsTDA0DUJYL67IFZTSKtXoKYd4H2k1J/+kB0v3QMJgItHERnIJ4OrZDc9L5XsXsTus0wLO ZsdRHxD6qkjnXjnzWuprrZGriBFKl9t5a/E0Qc3ygPh83EBVngWc/X2m0mmhgtxcD/2Bnq8QA zZZB03tZxtnwmgBSdH7ApN85muTnpoKaxXa6rVoZF/ufiaMQDmhPWqK1Pv5EF8wnSuPEdBqkV dSucrPclxeSURlUQprLFORVRGgVrZrY3lUpsxbfEfe8RSwuDytWMAIeJ0QNPH8vtVhtkC4MMM n2ESdljRaN1v2g= 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=1645195357; 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=grJTDoxdbM7iLQ0HuP7Wvnaf2adjukYXJtBh1GxXZQM=; b=mnCmK7X3jWyhJ0SDc8CDmUPJHE8gx887EGyw/xKzI3Suv34a47oSvMF+zF+F4vpAWotDP0 C9ZiEeeMi6UW4+KXhvixv6cNwuhwfEUpXXrCdmZ9Bl5AkZr64OTfuO56z1AwpAQalm/A8z dGuxvESbOnNXZBbi9aUzVEnC1l8bbWwONbBeJE2KXJJ5jAmrb3odydLLKVVr3Q0VAVOW7N veCzGyecWMdxc6Q1xNRpDRL2wzdHoMdG6rwq7RiBXOCy8VWL/KoxEdsPAlD2JiPj+zMeBs YOroGcX64ivzwJXPx7Qacx9NHPOL7owwMuIcrdEX8TWglZN+CmRyLzt/cKBOBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645195357; a=rsa-sha256; cv=none; b=AeaEBZ6wtPHl9/MD22MFF4CeV3WAipumdMu1ttUqT7Gc4H0FSZTr5Bh5kkmnR20Ro/q63o 187N/j65Maancs+aJWgc07rEm8ElRasAYQGetFImS0HWw5JJ6K9DJzQ8a3QgKu9IrTzezC tymABTsOFHvvZmdmUPOTSyiijxGr4E2QWJ9zdFAr7xcZqPxC9UMVbF74cTq1gTNIIFEXkg HuyK81c9A6ou+akOA9ZSSx6CW9zn8xQirGMfk6IrHD7wvixonKqLElv6c210dnqbgubECX iBFyumEN1YN+4dmdQGIoDwY+tOA8qVrFEHbHJILRT7Ud/P132k04GXiM+KDn9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=RyViOSA2; 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=RyViOSA2; 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: C8B36254F3 X-Spam-Score: -0.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: vs8NF0WHQXAt * gnu/packages/tree-sitter.scm (tree-sitter-javascript): New variable. =2D-- gnu/packages/tree-sitter.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index d93f6a584a..976e4cf9ae 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -472,3 +472,25 @@ (define-public tree-sitter-java (description "This package provides a Java grammar for the Tree-sitter library."= ) (license license:expat))) + +(define-public tree-sitter-javascript + (package (inherit tree-sitter-c) + (name "tree-sitter-javascript") + (version "0.20.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-java= script") + (commit (string-append "rust-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "175yrk382n2di0c2xn4gpv8y4n83x1lg4hqn04vabf0yqynlkq67")) + (modules '((guix build utils))) + (snippet tree-sitter-delete-generated-files))) + (home-page "https://github.com/tree-sitter/tree-sitter-javascript") + (synopsis "Tree-sitter Javascript grammar") + (description + "This package provides Javascript and JSX grammars for the Tree-sit= ter +library.") + (license license:expat))) =2D- 2.34.0