From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +OpQFzI2RmU8AAEAG6o9tA:P1 (envelope-from ) for ; Sat, 04 Nov 2023 13:16:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +OpQFzI2RmU8AAEAG6o9tA (envelope-from ) for ; Sat, 04 Nov 2023 13:16:50 +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 03E2362D0F for ; Sat, 4 Nov 2023 13:16:50 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=hLq0EygI; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699100210; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=AHTHF5K2h1/0VjfULshk83ukaZWO5Y+WboZBTH2IsTI=; b=IjtGXHLcqzFvZNhkK6rGtk69KncCL8UvJN8Ov46WsEnPp6dJSKgIRv/aJ44m8z6GhOnVRm 1kkJXcURmXl9n+2/MiAAEFiRy3dlNMXJTMXwx05LNnnGTbyd5V2VAaLIPudrD4Pp28bttX 5dniWMjv7BbFdP0tZgvrblDJTRThm+Jf5IiffnzbHDuu+6k7re3c4wVIsPyLhtkMDVItzD CQuf48WX4nq2KpUP2KyW20xNSCFKArCkDk2Ny1oanGrKyGAJDWWy/+pkurrMXQEGa4mjsy Xu9+7LCoY0QSck2vf7QHqX/e/53DpdIymkAn3VAv3RNzWJ23fjvKr4+y3pQKjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=hLq0EygI; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699100210; a=rsa-sha256; cv=none; b=GoFDHAt/IrMrygKnR1lMll35UVzQ41+d6mRBjipR6eKZBuRXf+whM1BfLMSsGELpkeZVdp J0/p2PuBXnS2UzqwEn/gTzhAqDzCXMXHueiEPP+3yCIA1L5DS6D2ezMMM7PQKi8GtWx0eX A5WZLJhpXMecImbA/3Npd4q9+7mKgV85cJ6FKe3lZIC4BTaSwzqPHHYyhJYphz/5kHi56E 9ICskxxt08m4Fag4EOzbeRIzn6l+j0JMsvCdT8UvU/gsYjNPO44xZ7nk+VKShsNuBsuNan oiP+TKxSEbKzpSfj1rq5mWJCA7RdEqGyXIlwaNWWfkd0hGUWBjAbsZT9VP/7Zg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzFZk-0004QG-HZ; Sat, 04 Nov 2023 08:16:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qzFZi-0004Q2-Rn for guix-patches@gnu.org; Sat, 04 Nov 2023 08:16:27 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qzFZi-0005q6-Jy for guix-patches@gnu.org; Sat, 04 Nov 2023 08:16:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qzFaI-0008QB-6Y for guix-patches@gnu.org; Sat, 04 Nov 2023 08:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66836] [Patch] gnu: Add tree-sitter-yaml. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Nov 2023 12:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66836 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Emma Turner Cc: 66836@debbugs.gnu.org Received: via spool by 66836-submit@debbugs.gnu.org id=B66836.169910018632308 (code B ref 66836); Sat, 04 Nov 2023 12:17:02 +0000 Received: (at 66836) by debbugs.gnu.org; 4 Nov 2023 12:16:26 +0000 Received: from localhost ([127.0.0.1]:33033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzFZi-0008P1-60 for submit@debbugs.gnu.org; Sat, 04 Nov 2023 08:16:26 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:42504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzFZe-0008Oq-Aq for 66836@debbugs.gnu.org; Sat, 04 Nov 2023 08:16:24 -0400 Date: Sat, 04 Nov 2023 20:15:08 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1699099965; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AHTHF5K2h1/0VjfULshk83ukaZWO5Y+WboZBTH2IsTI=; b=hLq0EygI9GG9dkIvf6oRpk7i4HSXHimqQiejNALks4wokPuQYFQrqoaItsvcPnwLQ7m0Ni RZUObM8yIBflDeXN817N1PVvwIylknB+O52FLtGwV13d8v0IoD4p6m7P2L2Jwv1EvkI4by 3NH0xf2zniRMKucB9qOC8GtFEf/auU06vq1f8tqkaLo+8bwsv4we1I6j83pk8OB0UGKnaC TRtuNk12558Vvx/aldDPClW9rsCxtSgVBgHSJtHHAPQB2j4v27B+x2rS8LP2Ko5BsQcQ5E Wun57BTRkkaN+vaffEQvgHKaoYH7hK5n65eNsGaOUSxLUDRQsP8pS3cPtfC47A== Message-ID: <87pm0pww8j.wl-hako@ultrarare.space> In-Reply-To: <5Vd2H2MDjpVPQxgawXDNnlt9fABkK8GbS0UOOARnZcHtkl9IJ0iUJjC8YXeO5g4MJ8zAs5c03prTh2cH2bgifUrvfgyuHHrZEzSmHfumWHo=@emturner.co.uk> References: <5Vd2H2MDjpVPQxgawXDNnlt9fABkK8GbS0UOOARnZcHtkl9IJ0iUJjC8YXeO5g4MJ8zAs5c03prTh2cH2bgifUrvfgyuHHrZEzSmHfumWHo=@emturner.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.61 X-Spam-Score: -6.61 X-Migadu-Queue-Id: 03E2362D0F X-Migadu-Scanner: mx13.migadu.com X-TUID: 2hXabxeuMcd3 Hi Emma, On Mon, 30 Oct 2023 04:47:34 +0800, Emma Turner via Guix-patches via wrote: > > [1 ] > [2 ] > * gnu/packages/tree-sitter.scm (tree-sitter-yaml): New variable. > > Change-Id: Id48040eee325b0cdb435d8693caf48c9654cf14c > --- > gnu/packages/tree-sitter.scm | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm > index 41257d42f1..608f8b6519 100644 > --- a/gnu/packages/tree-sitter.scm > +++ b/gnu/packages/tree-sitter.scm > @@ -7,6 +7,7 @@ > ;;; Copyright =A9 2023 Nicolas Graves > ;;; Copyright =A9 2023 Zheng Junjie <873216071@qq.com> > ;;; Copyright =A9 2023 Raven Hallsby > +;;; Copyright =A9 2023 Emma Turner > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -629,3 +630,11 @@ (define-public tree-sitter-scala > "scala" "Scala" > "0hs6gmkq5cx9qrmgfz1mh0c34flwffc0k2mhwf13laawswnywfkz" > "0.20.2")) > + > +(define-public tree-sitter-yaml > + (tree-sitter-grammar > + "yaml" "Yaml" > + "1ay4snkd2s4pid7pcr4bgx0y9cj7b5vlgd7wfc1j0896l0p61cjb" > + "0.5.0" > + #:repository-url "https://github.com/emturner/tree-sitter-yaml" > + #:commit "f53859209fef065b677995802842a2b65314defb")) > > base-commit: 2b5c6e1a41e4ddcf4cfa53a319ed784a856eac5d > -- > 2.41.0 There seem to be formatting issue in your patch, making the last two lines embedded into one: "--2.41.0". You can have a look at it in [1]. I think your changes can be shipped as a patch with Guix. Maybe you can op= en a PR to upstream as well? :) I have modified your commit since we don't have to clone the submodule and generated files in src/ are deleted. I will send v2 for the change. Thanks --- [1]: https://issues.guix.gnu.org/66836