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 ms5.migadu.com with LMTPS id GVHbD0oagGP/cwAAbAwnHQ (envelope-from ) for ; Fri, 25 Nov 2022 02:28:42 +0100 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 aLMrDkoagGONWQEAG6o9tA (envelope-from ) for ; Fri, 25 Nov 2022 02:28:42 +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 DE5A589F2 for ; Fri, 25 Nov 2022 02:28:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyNVi-0001hP-DD; Thu, 24 Nov 2022 20:28:10 -0500 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 1oyNVc-0001ef-Hx for guix-patches@gnu.org; Thu, 24 Nov 2022 20:28:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyNVb-0000wd-QS for guix-patches@gnu.org; Thu, 24 Nov 2022 20:28:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyNVb-0000d4-Md for guix-patches@gnu.org; Thu, 24 Nov 2022 20:28:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v7 23/32] gnu: Add tree-sitter-python. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Nov 2022 01:28:03 +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.16693396572335 (code B ref 49946); Fri, 25 Nov 2022 01:28:03 +0000 Received: (at 49946) by debbugs.gnu.org; 25 Nov 2022 01:27:37 +0000 Received: from localhost ([127.0.0.1]:60923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyNVA-0000bV-H5 for submit@debbugs.gnu.org; Thu, 24 Nov 2022 20:27:36 -0500 Received: from mout.gmx.net ([212.227.17.20]:50657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyNV1-0000aH-9l for 49946@debbugs.gnu.org; Thu, 24 Nov 2022 20:27:27 -0500 Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MHXBp-1pBrxd3jN3-00DWxL; Fri, 25 Nov 2022 02:22:21 +0100 From: Pierre Langlois Date: Fri, 25 Nov 2022 01:21:33 +0000 Message-Id: <20221125012142.22579-24-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221125012142.22579-1-pierre.langlois@gmx.com> References: <87mtfi63ut.fsf@gmx.com> <20221125012142.22579-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:skG0HN10l3How/DGEIx6DWxs8+MPuloRmEsp2HOEsJ+ZMYDbIro 7QwzKD6ZFpbWERZLuvtzt1vd8p4IAx+2iIZRDbs8HeOq2hnfuBs7Ug8QNBluOdW4uaKxIoG ZfIAjB1s/28x1TaM5UgegoX07n+0WHQWSfdOyBy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ZB 0QM3KrBcO/YDzm5d50H5cPGj2zeqolHnk90iVLEGweU8KLhqJjKUfveEr6bVMhAz62jpRsxni M5B3Bcg8rw6t/iyZ8EU8N70zsiWKrICIoY+qN/1 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669339721; 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; bh=r8obnfiizVTogoJ5R93NXNEiGVzIDPiY6qU10kC2FbY=; b=YAS50pGktKtt3fP/20QXqku8Vm2v3SQSWjZH7TTxhXzYzPcm/zHT3ROLmH88WYarkUAtXR OgOpDzn5aEarpYQCHd5t6vNbWdCoHNGbJw/u4ZPguPxDb93knu1WqoDl73+WnJ1XcPpt6j 7M+whw88MY05SO0isK+tmjLNYaM7+uLdqqg4tBMf3Gmh1/h+6OaJn/2jGOTe5MLB2EWtq1 LcaQqu8AptqdJgL2onkvD8szrt6wjhCh+PZE793pEKBPmKPvakYmpSo+7ydBZs31ttr2Dp x+rsEG1DDJZKVubA+0ZKM4Gmf8oSw/IHa0lxPpgWkUCsH/wwk3gSZFYkxWMeIA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669339721; a=rsa-sha256; cv=none; b=ZdL+KBkpZFBZCixpiFKiXMfEfg4hic/U+Mkcv+NVadqiVN4pSdUnCOJSxpQKW3QnpSw8up pgmLLOWDg2z2VwbuSPBpdvyDI3Veogq6cYuKme2j2n5DzBwT8mbtrRCbM2UzuUmsRiAB9o rGoNrhdOu7LmDbwAAdMQkglyeE1/U98A2YaBcPm35fMaJbwqTp0hZKnybMlwB2bgq68X2M 2Db+uX8AxPZGGrcKznmsigiVBeHHMhzYfB7wZOL/fxJdbRTU0ENwy9IvLcew+aBxU91tkP ViD0tRzesEOjJTkJ1R65D23paDaGRrCJ3YDNe+nWCgZAcfnLeGlK3SXZm8eE2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" 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: 3.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" 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: DE5A589F2 X-Spam-Score: 3.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: AU1IFJyaE8DH * gnu/packages/tree-sitter.scm (tree-sitter-python): New variable. --- 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 0a1bd4739a..c6256cd427 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -556,3 +556,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-python") + (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)))) -- 2.38.1