From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SOdKIQdiQ2KHnwAAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 21:46:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4P39GQdiQ2I80QAAG6o9tA (envelope-from ) for ; Tue, 29 Mar 2022 21:46:15 +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 3BFF829820 for ; Tue, 29 Mar 2022 21:46:15 +0200 (CEST) Received: from localhost ([::1]:38130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZHnC-00066c-ES for larch@yhetil.org; Tue, 29 Mar 2022 15:46:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZHlB-0003fv-Ul for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39749) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZHlB-0001Dp-JS for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZHlB-0004zk-Ge for guix-patches@gnu.org; Tue, 29 Mar 2022 15:44:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v5 19/27] gnu: Add tree-sitter-python. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Mar 2022 19:44: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.164858303719012 (code B ref 49946); Tue, 29 Mar 2022 19:44:09 +0000 Received: (at 49946) by debbugs.gnu.org; 29 Mar 2022 19:43:57 +0000 Received: from localhost ([127.0.0.1]:33618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZHkz-0004wU-8a for submit@debbugs.gnu.org; Tue, 29 Mar 2022 15:43:57 -0400 Received: from mout.gmx.net ([212.227.17.21]:60969) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZHkr-0004sM-Is for 49946@debbugs.gnu.org; Tue, 29 Mar 2022 15:43:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648583024; bh=OFGywP7cLPC0Esb6QTQLlq4LVstfvoLbJ5oibFCiMZE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=OXm0syVZzlOi9JY6H28gaSmpFLltVyc4EioyH3Qekx0lL9T1/fhJozFE/P15gxqZp tt0YfucofDwqKq78YNSaVr8QacYFqxESqWt30DwvCVRS2V8+gmKYvjy8rFtwJjbigO 3fsjBDQ+kVPTMWiMzUcOBTwIg1bK91hTEIp0tVf0= 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 1N1OXT-1o16Qe3W27-012n6N; Tue, 29 Mar 2022 21:43:43 +0200 From: Pierre Langlois Date: Tue, 29 Mar 2022 20:43:10 +0100 Message-Id: <20220329194318.6106-20-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:LHW70lCdNyAtg52K8hkoIQhLuogyH/ckcyRMRU3ggCQRzH4vMWO 8qWtJBrtLQIe+7PX3XUbkRF5WvwaxPpxE3vn8beMh0F/OZvQj5gX4IaHjsHydQTAY7EFKGf jznfpBtvSLBmZN4HqJMFAiu/C0N7AMbucThmac0M4sc9xdtKzUpn2RlGfn/dzrsQBZdd/gi hgNKQcbEVjJwtYOHaylMg== X-UI-Out-Filterresults: notjunk:1;V03:K0:XBqDtA38mqU=:0brjDyyx9pA4DmR94cKt4f 36yU+V8Q9ZeigRjK//kq6rPuzV9nGe6kGfibU8dNnSKgoXB4xZupRHX5SjXdayH07JM4TmTId I46QSwVatsXd+5cZfDnmmEIsSUJP/n/52td9FuD9hRMhAxUOSoD7JX2riZawnBm+G1v1Eqwdc 9twOFYrPo9aDvnKx8f23fOE+q+svl46fIfX+99nJGYTlJWp6JbkdW0A4yEcEe9ZA2Txp+DBYW sfGWVM5MDbHQvb90Lvcc28w5h826M4hkC/hJJa71wHKF+TRDMDdK3xFAzBrcv14MZpEmBkv+0 M2/NTubdbXWNfUakp4UDHC4soBdVinkOBP7609OKUesCFp3NlZERxXy5SrNkUWpn3Ufh5eVOd DD+VzUAg0qAIvFdtK/v9MC9/XTnvLKD2gr7N4sWbu/xl335zCfmW85MTFmyX04Wy1yD5mpI5A b4hiCaMbJb7T79GCOYsxKpEsOIoUSSqCcIz/MhnRwqHB/uIaSH1whsdNQbp/Y3ObabNuLb7h8 9TRlNA+5KxvDdHKrgD4WtIvq/b1YTV/+rMqMRqeEYrAEfY92zxH08sCVbQdMY8j1iVwC3eDqn TcplBZhidV3wECYKE8M4tk/mX2lYyfkayQ0FiR10XMsYNobSIx2Nq6B8qR/tTkjim+3YXcjrd 90iA3Yv4yZefAYvUii+5RRoQ5nJ87Lax1U/b0n5H8JWphu+oiAyqhFzDl3csMWGfokYxmzk9R tkDLsGmZoQu1LLhv42VI6Yks+ORbHDpCuo/g4C9M7+az6Gum5AWqWe13Yn14eD+mwcA9peDCB hgtpVK1J8PM8W/pMlVYXG9C3IJgnvQdg2Wmg8FQ/gySp4SChTjtn2T3qnylQHOSau03HDyx5y RXYxyJVF61sSWJD/WeWW2uWXqHG+mh+MF2uHTz3pACv4v0ayFipBqyQgN9QMDiQTTedjIj/dW 0OzkAJaNJICuLQKshu6WSi8H6WauJdiJKMDapxNK02WdZ2BHf0Pl+l0z0+rbkzb5TwjnwC0Kj aWSsSuWck0okMc4rRKrSmk9KeRry7MWOvPOUMgIKXmzwx8rhI1GN5CYDxKyMjuQyoWZg3Ms2b lXZ9sv7OIKEyB4= 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=1648583175; 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=NOxMrV5JNbgxXi5Jxo5JVjM3TSMRGUl4re6QoxMa8nY=; b=dZVtlljXSaJ1CjQvAXub6MdaiMGpXQimwZaCeJPJxh+Oi9fHAwQ3iMZxjOURf6Ne47HMee 9beuQWnoHfPj/TlXaxelRcOi3G76dvHSyiWGsgNYjjsCJtsAHBGE4ZZA6za5MG0p60/07o mbifJUKi6EAr9Pr1d/lMnp/be7E3RoAIlox9XIk82mffw81k7i+tcKArtq+Hhbp5JCir+G kcp8gds6vewEuD9+H2kJ2rJ8AXq+KivzGdDeVuWdXYsBZxIBGTVej8IFoRlA4hy8qzPIfF h04l3Viq4unQ6uy/4y9x+l4gJ1v4eJyBhsBpweFUJHN8tRLXSSji8sHnw/Ua/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648583175; a=rsa-sha256; cv=none; b=b/b4nHCF+fB9z7UnxV9a6SkFLlyGQ/TKZId0QtkhYn1fuwH9nQQjZJjICB7agbAvoa5Ztg ibcgabommbRt7cyUzVmE4/qljly+jPcCHFbba5LPqbISpXCit74JWsZD8lnW8arJwsRjKj 4O8MvbieLT8P4tOr8vDgKq4y9UeNufT4yfgtWocVDBPKxV4EhwikjZCvZAvP/3DXycYodY LL3EbooTiXn/nXFItHR1OZ9iB6uXrzHF9thvKkug99orXGjXP2KsKVGzRp4FmvGLtqCMKM puJmjP1YnBzmSHmtqQU6GaxO/cvm5k8aCl6PfUYKQ4177/haaRlT+yuvDtiNGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=OXm0syVZ; 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=OXm0syVZ; 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: 3BFF829820 X-Spam-Score: 7.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: dUyDvW4Xh9/c * gnu/packages/tree-sitter.scm (tree-sitter-python): New variable. =2D-- gnu/packages/tree-sitter.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 654445f71d..c43cafea2d 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -527,3 +527,27 @@ (define-public tree-sitter-php (description "This package provides a PHP grammar for the Tree-sitter library.") (license license:expat)))) + +(define-public tree-sitter-python + (let ((commit "ed0fe62e55dc617ed9dec8817ebf771aa7cf3c42") + (revision "1")) + (package + (name "tree-sitter-python") + (version (git-version "0.19.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter-py= thon") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0wrfpg84mc3pzcrdi6n5fqwijkqr1nj5sqfnayb502krvqpjilal")= ) + (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-python") + (synopsis "Tree-sitter Python grammar") + (description + "This package provides a Python grammar for the Tree-sitter library.= ") + (license license:expat)))) =2D- 2.34.0