From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 yCwoOMlhQ2LmoAAAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 21:45:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wIDFNclhQ2KSKgAA9RJhRA (envelope-from ) for ; Tue, 29 Mar 2022 21:45:13 +0200 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 BA36418D9F for ; Tue, 29 Mar 2022 21:45:13 +0200 (CEST) Received: from localhost ([::1]:36364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZHmC-0004ni-M2 for larch@yhetil.org; Tue, 29 Mar 2022 15:45:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZHl9-0003Ya-Us for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZHl9-0001CZ-Gu for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZHl9-0004z7-Ek for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v5 14/27] gnu: Add tree-sitter-javascript. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Mar 2022 19:44: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.164858303618976 (code B ref 49946); Tue, 29 Mar 2022 19:44:07 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Mar 2022 19:43:56 +0000 Received: from localhost ([127.0.0.1]:33608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZHkx-0004vt-S5 for submit@debbugs.gnu.org; Tue, 29 Mar 2022 15:43:56 -0400 Received: from mout.gmx.net ([212.227.17.22]:33307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZHkq-0004sG-7l for 49946@debbugs.gnu.org; Tue, 29 Mar 2022 15:43:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648583022; bh=Dp5KTP05LgwMCzpZF09097B1PKfCHMmRwlmOk4KGQEI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=eSghvhtptBLS804qff8c+ep7AkXCPqK83zdlWdadPL5H4jlt+Pt57Dx8sQXO/rReP UhyQy+D6nNUcDeNYcJWSjieEkcFB4zURhCP62IwkcE2fDEbwUorFrXlOUrWXPq1Mwu lvOK2isCBwxKk3W08mQTNqAZL/z9yMrbVXehxJIo= 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 1MIMfc-1nnZUY1Va8-00EMqG; Tue, 29 Mar 2022 21:43:42 +0200 From: Pierre Langlois Date: Tue, 29 Mar 2022 20:43:05 +0100 Message-Id: <20220329194318.6106-15-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220329194318.6106-1-pierre.langlois@gmx.com> References: <877d9s2qa9.fsf@gmx.com> <20220329194318.6106-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:W1yEj0G1ZNnrPJ2LF0fCnsjdYtzDCSB4ov/7tyIpCiOZXglJBIJ K18R3pNBPHIeG0ifcryDUGbPCiYJEOUg85ezsMDv+fCL8d0aiwLUjCnl/ZVHuVUwqSaQ/9P iqS0QiA9LlMRK8EXazl8p0KkC6n1JpOTDc0EqDpgAb6w3FVh7RwuJqzPD/XWn1SjGXUdA99 dm4uCzaYGFAlzuROiYLmA== X-UI-Out-Filterresults: notjunk:1;V03:K0:GmI+q0Ic9K4=:Hf17C0miwRlMtrXizOmNnX 5gis4bk1tEeVNNkDRixwU3mU3gyqTrEteZrUj/O5igrbPiAi9KqQjjUwug+JVho0Tv/5+wjDz tL8cMN3col3y7LUjfmpZZTmo/0QBIS+v1HEwWnpmx8Inc6Avtn2NemMm+mSnoAhKoJgfXajca aDxozAuymWvu/i+h/8ELXoKYJbQ6Ko6E8i8i62bZnMgqIU35hHjXhOFLeWDF+HftF7rQMlIDS qodZyGCD5EMIK6kaLqOBgE9q7WE+rqfAX3q4IUeYXj9beEGcVgvv1a16K4E3tWq8N/dUbJglJ xvUNL/HF2BoRsRYCafHNxgL8AcDOSq4mZ6qfIZiaE6hEqibR9BGPA4JK2DwNY+mVdHMeHv1ET IScVmi335MzmZOoV27ign5l6Tj+9xq/YmPCumckFQb1FoAihIN3ZT+Suvb3aUU3em9IAGW7yG BAz0IYl+R9wxKsnrBErUiqNkxDZfh0ioaN/WnyDgbNAweSGtlxcmZwIS18B6ozq/Bti1dzNam JUdgOjDWX1qfBSWsH/4QjqQG+UyYDDtZQ6oeJ7mkB12mjX+w53FWjX4WrchaYxgCkv20rUyXU rLGX6yvI9HURZuE1bppTZLnkEP1AP4FNRjSOD1VMJ2uiMgsbrykV0gvibTYVG1ylMwkLcRhlc /kuzqJOYYVNJGuc7gosK0vW5U/z1hkLcrXNuKJKVhIdjU7T9bp3wJp9MzQSIBrmN5rFyOJTFb HIv0nslWMCh+ANEWI9xZrn76bn1/BJqW67SxSQeHtQa5LXvhX1F2/doEqjPKc9+m5/rRpC0BP B5dJB/FFd5MflLGQW6cKmrpZkv4aHC0gReViSkPjSB3zZ0dVRGXrecPIEpz9iot5PuUMZabeM hJ/tGd0D82Z2RQOwF5uagU0KRFcQLcGdkpzi86DFXomEFkHVGvhsF/pyuWTlX1mzKMohIZY4e omn5xEvOhUeyXfnpUUK4fyfQzH/NdgY2Prucx57evVe4wfSFeQEH9M3b/e0LfVTBrxLCff6Es 0eficUTmqnx4k6ut5Ta4z9fnnjZsNo0lzYd/8ynZMFPkG7t2jGfNeQg1YdPHRUikofYstm6Dn KNSibcU8RHvgto= 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648583113; 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=YNvTplSTauXYqI11pF9jQ0X5HuRsWQrXBU4afkmm9Kg=; b=BauJhWlfZlOL8RycuLaYZV/Ti9cvaEjT2YlwGG8jfyt/ob7ZEwfUh43L+EMizae3wQJYUL ZJpUv5rk/TBaGknUnBv0W/dUTbsjeGydYBafQhU5P0v5q6cQOJueMLYHG/2JRh6hKj+pV1 kLjwg5UY1HzU+H42V5EGhGLbX5yDQtAJqC+l5OudBCQOAphLorxyhscfB1lcaL7XUIcnCV Ht06BNAWVKNyw7zRhmd9cxh1tHTv7iNPNXuTcipfxhYlD0Zq86gvwS5nA3N6ypef7vOWKO mDN++uyQnn5ewhDXNljpmsl04ou+mJo+yyDLiQlGheUKGLf1YkSZCaP38b+k9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648583113; a=rsa-sha256; cv=none; b=XydpKnX+L8yehlGfFL4UB7AyARKTYvj3x4/9QncXM6KbOroRPEA0sp+jqsCub9LVgr8PA3 7LXNcG01Wqm6IrGw6JbUGwtrBpp+a8sJ1n4i8owL3ND8ZaMNWe9Vc74zBEGJFvOP3QfWc5 oh2nC1Pn9p6tGcrHr+f2akSq90P5RsUlBNQ5Z3WvR+9HaVlDhHaQVNchEfq7si/zwfQRmf 44F3o6rmRvVunpSz1v3lKgg7VYwsvQdFoithE5kdBLqcZOhjftULSIOEEMcNCmT3yv9kEc Pbat9e/HBgz95sMIustCYIYjCNuTiDfnec4iOt+8qHK/HRyoLNNkNGqn3VqUJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=eSghvhtp; 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: 7.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=eSghvhtp; 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: BA36418D9F X-Spam-Score: 7.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: A4z3XdCVbsYT * gnu/packages/tree-sitter.scm (tree-sitter-javascript): New variable. =2D-- gnu/packages/tree-sitter.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 010a7c3751..30220a5a8c 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -391,3 +391,26 @@ (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 + (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))) + (build-system tree-sitter-build-system) + (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-sitt= er +library.") + (license license:expat))) =2D- 2.34.0