From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qEKtJolqEGFYJAEAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 01:36:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WMgmIolqEGFgFAAAB5/wlQ (envelope-from ) for ; Sun, 08 Aug 2021 23:36:41 +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 67210DD88 for ; Mon, 9 Aug 2021 01:36:41 +0200 (CEST) Received: from localhost ([::1]:45108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCsLQ-0002Bp-EW for larch@yhetil.org; Sun, 08 Aug 2021 19:36:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCsJy-00080p-0Q for guix-patches@gnu.org; Sun, 08 Aug 2021 19:35:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCsJx-00067r-O7 for guix-patches@gnu.org; Sun, 08 Aug 2021 19:35:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCsJx-0000w3-Lq for guix-patches@gnu.org; Sun, 08 Aug 2021 19:35:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH 18/31] gnu: Add tree-sitter-json. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Aug 2021 23:35: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.16284656773420 (code B ref 49946); Sun, 08 Aug 2021 23:35:09 +0000 Received: (at 49946) by debbugs.gnu.org; 8 Aug 2021 23:34:37 +0000 Received: from localhost ([127.0.0.1]:54999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsJR-0000t0-Ct for submit@debbugs.gnu.org; Sun, 08 Aug 2021 19:34:37 -0400 Received: from mout.gmx.net ([212.227.17.20]:46057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCsJI-0000pD-LP for 49946@debbugs.gnu.org; Sun, 08 Aug 2021 19:34:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1628465663; bh=eqqUVA8VshVOntsIjgB+gexgYU/YfVXc8VH8mkhOX3A=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=h3eQocb98WZZnAWxQZEkIYNswZWi/hlp+u3CPYuKgPYBtQSnY/BRl2U7aSPclrFJF RdVKumn5795imsy70WBjrkyzv+RfxEkfIaGvnHjdGo/1+2wTpeXh3DW7wiUhL0Y/JC Qk4tM8EvlK40zMrcG3j0u3ws29ZijjyGG71NckZc= 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 1M4b1y-1mEX042iUY-001gAl; Mon, 09 Aug 2021 01:34:22 +0200 From: Pierre Langlois Date: Mon, 9 Aug 2021 00:33:41 +0100 Message-Id: <20210808233354.6745-18-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210808233354.6745-1-pierre.langlois@gmx.com> References: <87h7fztt60.fsf@gmx.com> <20210808233354.6745-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:RG+sG7STBF0xIalwmShI3tI3sB6ikTeqalpoLr832VAjFsyLZUT y53pX6TnYs7Q0tAJewpZj2hOjBTKGMJoqlCLy1mvBFj6oO+tfZMAiZNVx1uHUE61nH+RuIo hwjPPD97lLiMuGx8yPQnxckhcLIiZgwox2bpjUhqNESIUIuIiNgSn4KcJvgu7j4p99xUtir Qr5/vywiCBO8Gt16b3UPw== X-UI-Out-Filterresults: notjunk:1;V03:K0:3Mxm/b+qcKg=:hH9CzvK79BlZK9/QQhd+uE uu52VvON25mNaZ1KY0T9TmaBSyQjEieZLZwXvtIoLXRTujn0UU25b0gj8vRq2kmAgV61Ec5NE Tm/mRzmM1boivGgBUQW6etY5YJp0JcmxCQZvUxKHDd6TtFrLlk42nqy4CLBHc7JSB5C0BZ1FY 2z9Plvpzo1n6P498DgXL5qvaE3PYsHrWw3yREhwkRGs4ir4/90uVRyNDFopR++JhVU4isxldm Uegb0mcirJolxGZFU9hO9NhBffWEl+ZfsEvEV51mWVAKPh8gn/3TQKH3MChSZuL9mbagSs1vT 6/m3taW3IGZZ28XgCtvUYOkNtNRT4FZ7FVgZUUGtxDph3hgoVwhbtnX3Lwi27qPD7pjNAb379 2tUtEaXtQdSKmBxwmblnagxdJYQlG5nwv74hz9jPIOaU+qmHjVfVQcabTq5Qa6BAtEig+FFHZ Pjxj96wLwbauPM/i7zWCjzktirjhibyaWkPw5qPzLFOuVaBb0WADPHLwp2U70QBRvZ1agpzy8 1trPtzapqbS3yJB/PiZTFHzSoUEyIKerDhnjpRsy1/LXFUxr/Ufujr+N9ZvTzy0WWhvB9QfWb iu/1lsmaPgUf+h3Bt7koUR2PgnGp1SjQRPTpk91tIXFneuL7vIU2Lh4eYZP11U2XNKyBXspHA TPwDuIcjA+rR2Ed+swWv/B+D8kvT/1Hd2LoGkPCw7EZw3gkV7E/z17UW/sgScMB6xhcQ8y7Nj AgoSGzU0DdGoAtJJ4GlSeF/ysoqWid1R+j0pevDa/lf7W7TbjPDOPV3Hj3LZTYTv3xWc0DBhO iwF0nMWGalkFYuH/MdpwGNsCUn8LTK62TOExi3xGUo8gwmXsMuOwLKwW2CUBaybidDWSibnUb ASVKHetJ+2ABt89z2deo0clHT+cU/KBKYDjnwAiNyMBmWn/BeIYZc6Hpksd3nb71X/1yBhu3d iq9oYDa9zpD0h1ODsdhIv/bBIKVjLRlZtFSB7gWCHm3D1hbw53zRTPg0h5qoZggK8yBqI2cUf BeFnGnV2qMYCrSzUbN84ycH/VrvaC2UIPhrjh8OMCNfYDx/NmIgTGq3VN1gGasDiPQ+Ce3E6b 0GcfYNATjsHSTObbSzrwoqih2t7og7TH9Pkq1F1CsL3VK4OztA0GwxZQA== 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=1628465801; 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=Cor0jTwkYyEK4TRLKn5vR8v62xgKDzkeaE5fEFQ1kxM=; b=A950NLqoYoPkgKVMpBYPfke5n7Nu8FzBj2aIR/PEWOsJGsrFx0vR6f+XKXT69mgUgwxx1p 5dispIML2+WcP+4BhEZUZSgXqCbyCYoBDQpvqzHhkebVvrHK23/kj8VLoqo2UgiEORdXKN 30u1aCwvUzdLrX4AZ1SmIv0EapCE6U1RmlQX2ERrdrTUkj4qF/hp2WHApdfyfBd8POWlBT qQ2nHW0bSLUQ0lBpe/hBSdm5WiVfJF0ewvmrkemmlqCSGkNMWWpI5ejgaWoVV8/VC9t08x St5OxFpNgnZL5WmtnDCKay8vBF7jpASgXlNEIPmGTX/hfT7XXN3qpwrf7OiPvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628465801; a=rsa-sha256; cv=none; b=czzWIIDClFiD4apjSFiTHcBp7XALeh99R1Mat83aOsmUL4YovGsD9qPjCl5hegWQPUfj60 kBGzcHSjGC9YazvZZ5KZPI7RrmKEH89605F/0oPyIXGveC6LLiiBTsUm7usR8TiZ9FBk7A CFwNb96IVYNviE3z2M0hLtXRUL6RqPAx6kWlq3bCsEQ2XvgBmQxjLW67ehPUmAMc4JjGY8 45OqmRZ+uIqIo5SRf7EHFMyB+id/myEHPrlCSDqxLfRQP+eU5WgohI5qcAqbjt8seV4Ez/ LNjjny2VB6lG+i1qd5uHnAVzBbjUP8LWuQqzbztKoprcf3Zi7LOut/YybzRNxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=h3eQocb9; 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=h3eQocb9; 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: 67210DD88 X-Spam-Score: 2.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0VBG1fXeyU0u * gnu/packages/tree-sitter.scm (tree-sitter-json): New variable. =2D-- gnu/packages/tree-sitter.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index e59a44c521..d6214de2ec 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -310,3 +310,23 @@ library.") "This package provides a Javascript grammar for the Tree-sitter library.") (license license:expat))) + +(define-public tree-sitter-json + (package (inherit tree-sitter-c) + (name "tree-sitter-json") + (version "0.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-json") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06pjh31bv9ja9hlnykk257a6zh8bsxg2fqa54al7qk1r4n9ksnff")))) + (home-page "https://github.com/tree-sitter/tree-sitter-json") + (synopsis "Tree-sitter JSON grammar") + (description + "This package provides a JSON grammar for the Tree-sitter library."= ) + (license license:expat))) =2D- 2.32.0