From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2HNHKyJmK2EbbwAAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 12:49:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SEavJiJmK2EAJwAAbx9fmQ (envelope-from ) for ; Sun, 29 Aug 2021 10:49:06 +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 139EEFA2C for ; Sun, 29 Aug 2021 12:49:06 +0200 (CEST) Received: from localhost ([::1]:39156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIN3-0006B3-7K for larch@yhetil.org; Sun, 29 Aug 2021 06:49:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKILJ-00067G-GW for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44070) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKILI-0001i2-Ee for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKILI-0000Hy-CO for guix-patches@gnu.org; Sun, 29 Aug 2021 06:47:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v2 20/33] gnu: Add tree-sitter-json. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 10:47:12 +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.1630234025974 (code B ref 49946); Sun, 29 Aug 2021 10:47:12 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Aug 2021 10:47:05 +0000 Received: from localhost ([127.0.0.1]:55593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKILB-0000FV-3v for submit@debbugs.gnu.org; Sun, 29 Aug 2021 06:47:05 -0400 Received: from mout.gmx.net ([212.227.17.20]:55045) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKIKm-0000AV-Jh for 49946@debbugs.gnu.org; Sun, 29 Aug 2021 06:46:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630233994; bh=m21stkMTuP9i1VEmSLM9SHx/4GfpetrEfJ7H4ciZ4vQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=JSxrKqJ8Asm8u56vsjFYN7534gpeJAxHp0H6Yyarnfx00P3hUnsgCvrjXFW9336R+ x9XXfqHiU/Kb3S21/HRVOAWypBcrVBsHRJzcWTPyGQvW5vj19Vd7DpRNRY2pgGgHSp ffnMeGzCLr2nIWiQu5CCpk3na/yuE8QtUXyWLVo4= 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 1MZTqg-1mXxLY2Wvu-00WYP2; Sun, 29 Aug 2021 12:46:34 +0200 From: Pierre Langlois Date: Sun, 29 Aug 2021 11:45:55 +0100 Message-Id: <20210829104608.3103-20-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829104608.3103-1-pierre.langlois@gmx.com> References: <87czpwzg9e.fsf@gmx.com> <20210829104608.3103-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:XX9nYRVDA8LwMx7KpipJsWYj7X/yFzPTQT60H4r873Rnx1+miL0 lJWcOaZx3EExPtrU73jpOnzKpZZp4hLUly4RWHWVPiUmTRjIKLmYK99/E2Dx3+Qe6F/Uwhu z983bw8sg4FGw6464z2MQYeyVVO27Kg+jJj0uu2N8HJpAeO6e8r9/V0S6Mhc2Vv1xltocN3 eF31g5WqSBSCnxJkKGY3w== X-UI-Out-Filterresults: notjunk:1;V03:K0:1nNmsM8OQBI=:ueQDzKp3ELm/sAQbf2AYz6 9Cl2drWDQBTi1J2xMI57yNhyh2+rDkJdQAahFPpZJm6C9whseTvRBa6iXxiLkh/qN9RClqWbj yJ4QqiGOlBSP3NtqKkRIbDSAS//ITAbApdEPZysMW76PSJyKcWFXfXYaQyk6emA85BsuJYdJW 0QXjZzHsveVjE7fBh5nluXxpW+8JNVWy7PtAWk1+EHSAi548KH/K+MfeTJgJWy9vUbaF8J0DT XGj+3Ah9OwDdCOEHhPCo3C8C6qkA+oIlaXTGmoKHgiLLwAdnXJIvfpZE04TJIqN71aRvajAN8 BCNqH3KpPlF3Qno2jxoiJw92n1s50QDTuPPIws/5ocAmPzBgZZOIneeD4Eid0vfQbuOadoQov ZLFIkH5YGDnTKDX997Pk2zdKXW9F/1bUPJ6RG6CIOElhm7lQP+ZVMznei5lUJmNv/BqboSoKM uMYBiGGeF3H2yDTIC1HRTwFvBJtq5WGqB5ri5Xzl0krOz34dc3AFpN9uePoiLIazJu4b/47/V CkQo0YGn/w0E31xI9I/FpEdRQo0cbp9iwEo1Ek3+PQw2HV6JTdw6/w0as7LQh8wnS+NfpQQTT sRsLXMsjcVv4i4Y7MwvUuK/ZHwT1FvgOHp2zArDFaQwOZfoJwmtTNT/a1nSZwlBr1rCxD5PuT x9WW5Pkv438UXm7OL0xExwEgHZ4QwjeQ+s2FF2WslMZ8EABfEKGkkJEGuotXwThTqXOLFd/tc U83pGGmjipS8aP8vHackLVkPHQAi5NNMo1p9J9LogfqawmAGqeyt7G8Ly+uFY9u/u5b7rMjzZ b/9KIY/FN3ymVb4JfCo4skKfRNZXvZ+lNNrY9ArctpsCDlgGEWgan6N2ckfvdjf1bRBKQkN6C 1RH7HCDwtKK1C3TQvfH7up5qKj+yT1+pPG9ngEl5clP1U00OsPJ0qMUH25xA0bZoOp0bIyLeZ yhmK1P7kiIDzYqmLPWuRgxQ0ARm72tUvd0eIVRYbclbPua8GG4a/IBgRPw3jrEL7CGE0Oocwd 2txIlwdlkSB10eMemPS2ELfHJI6JU1NiUfKoyLSAgRtA+LRC5tF+QApCSli4fA5MaT85/ggYt 7S6byQbIS2Mjkiv9VAAy79RX4VxcxcLGrK58fOLyBc18Eci9uNJaCmH/g== 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=1630234146; 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=yEcB0OKFa4U0ev5wpstrFRHM5/eejjaV4E/CPS1Lrg8=; b=BHpFabwEIBtM5NBExhBEWQWTPh7qvRcFkrQ8aTBY6S6zmcS5qCWftxCIfGEvppz/n/PHsk W214vOzkK1EnLDpcR8l0QhlSrcW3hMcWx7YwQWd6nSpNrtBXc6iKjRKuS4MOneCsKFK0mZ tyLfiuZzMYTcXTSqLyeGQIcwLTG2ngqmdsV5hHX+SZ5d+c/aU96/Ez3pMoPSxoI1f/+Dls bt8cpxvMc+SujJuMH3LNgtXkTvAsFAfjDgGrKvPr0l1hontww108FmvTKw38Wy/WY0vMUD L7JskgggOtpKNuBlE27ay85P3Iwyk5Pivk1kCGQgQJTDLlpKVnsNH8QSJkgVZw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630234146; a=rsa-sha256; cv=none; b=cNSm5uqoXtbjDOFDe0RMbT42yoiF/fEPfXpfJUeHa7y0RrjqRmmc4P4Z3/wdmH3j+O5Aa7 INumGv0DUF21bzi+OnFI7Fmyjy3A8Zc2hdvBVA1QgA/b8WdDx1y+tubYK/FAtAURThwToT GaU4RNExKgOFHmj9cY2jGGaa1DvCEJgU3fhxkRfkcWq7/FpYc9D2gGa+FuYY1BfEoJw31c /psoqmnr6Okq1BwWgbs/se+6+qUQ7mK4ibdEdXPTK6Kzlj9qnBte0DVfbe5SZy6/4VB44b 3VQK7wyokO7Y7TokTCsaYclNAJ6JjsSBZuYjesxBShG9BJr1FpgzhVXUqLdxRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=JSxrKqJ8; 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.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=JSxrKqJ8; 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: 139EEFA2C X-Spam-Score: 2.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: w7lGaCGCecsS * 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 2be6b15cb0..74249b2aca 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -384,3 +384,23 @@ This package includes the @command{tree-sitter} comma= nd-line tool.") "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.33.0