From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EGWJH0dJgWI2IQEAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 20:41:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kPJnH0dJgWJtXQAAauVa8A (envelope-from ) for ; Sun, 15 May 2022 20:41:11 +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 47272121CD for ; Sun, 15 May 2022 20:41:11 +0200 (CEST) Received: from localhost ([::1]:45966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqJB0-0004fM-Ey for larch@yhetil.org; Sun, 15 May 2022 14:41:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqJ95-0001lW-Te for guix-patches@gnu.org; Sun, 15 May 2022 14:39:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56819) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqJ95-00009Y-HZ for guix-patches@gnu.org; Sun, 15 May 2022 14:39:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqJ95-0006ev-FB for guix-patches@gnu.org; Sun, 15 May 2022 14:39:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v6 19/27] gnu: Add tree-sitter-python. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 May 2022 18:39:11 +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.165263994625500 (code B ref 49946); Sun, 15 May 2022 18:39:11 +0000 Received: (at 49946) by debbugs.gnu.org; 15 May 2022 18:39:06 +0000 Received: from localhost ([127.0.0.1]:50697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqJ90-0006d3-67 for submit@debbugs.gnu.org; Sun, 15 May 2022 14:39:06 -0400 Received: from mout.gmx.net ([212.227.17.22]:55407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqJ8h-0006Xj-KM for 49946@debbugs.gnu.org; Sun, 15 May 2022 14:38:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1652639922; bh=GfdfhnCuksq7p/nUWFVcopKXe2x38FUN1bZi67NsP9E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=PtPCFfUWFT7YJYwbSTQJpmS2+YnF9XaAQ3me+KXL6c8qMF2k0xmsa7Zdb1ipQbtmO NVKxS0zA5GmvDaO7uwZZlPewO1YXdBFv53EgHcAJIR5hR67UrjdqOfnV3Cw9rLrVGn 3qgCQRGxnpgV42hhGIA4ogEVhLrCMvVKrfXZd2eY= 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 1M59GG-1nrPbJ3KaK-001Deq; Sun, 15 May 2022 20:38:41 +0200 From: Pierre Langlois Date: Sun, 15 May 2022 19:38:26 +0100 Message-Id: <20220515183834.18771-19-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220515183834.18771-1-pierre.langlois@gmx.com> References: <87mtfi63ut.fsf@gmx.com> <20220515183834.18771-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Ansc1NoNFXndQfs0/ijlI+VXGsAcxyH6WWy2wIELi8gi07mRc+C 6GCF0N0eZ69jnqk79k1IvXAnTzF5o/frCH2rGz94EVNqbCX0V4Zzd05wqGtneP2KygY6SZp 3Bk5FUvNg6I/Q5rY8gured53NQjfTNgMkxKEkq7eUDVKdCY0J1huBFoztLwGlAYgaXnNt+A OlUnD7v6Fo/MblaSEEOiw== X-UI-Out-Filterresults: notjunk:1;V03:K0:Id1AzC7/684=:05v1TiFHK2JNoKrJ0dvCCL 4oF3LzQMKEgL0w7oJRa7ZrllP3na6wUiqJ+M9goLa86AUzIhluCfcsPqNAi25R1C4cl6HWkuY ECzNrSTAtxoAWsO0tQjGOUD31z1fMthUibHQZIrVVlhM5FqCXdcmWSgmg2o/YwvWF3XNNDXcE sNRr7CkPGRNRyO4gQEztw+olyIvZFAZREnhm78TwdFcadGpOEon+gTZ8Fcm8yG3XOsu4ZhmJI I07cW6emQ3POtRjezl4lwPOLgGqJFn/G3loNgHLgPnHnRGEV59Kkq5+0rwpdvlpYnzO3bMdzp FH1moNvX63AB+AzsBPWZipQdnro6y5qDjjUdBqCL+0+kll+iy3OndiqhNU6owt1yW1i7mocbU QD+N6mLGzzjfK9xaVJqI/22U8NquQoFwc/ekcq6wCBWq99pAG6I2fSurjIGJ+8Y+sAbo5nwgk nLYx++aqClMxyj2MI4Jvnz/kyZUCScFVkjfzcS9GIXCCWHqXgAQeWnKz0KlNF1Swx1Q5X9zNq OOThaeEzP0tFWDTP4jmqr2TPNyxotoQhzmGCTr0EWDhRjQz0NAsTM9oxctA7NXZ8iIlehEl6m uSc7ASe4I9fr1grq21ZMfbT1c05fCAS7c+NqBi7a9CWrPNdH4qJUtSgYgxVROVM+0S8oPLh03 smLT/Rqx57W2Kv4wmD7yzkhoVPldIp191OMoW1w1tAJOcXtNP2Xg38jGloLhMgW0RO27kbjXr Oh6XA9efIpUOEG8KbXaeQaZCD5IyBHRD9LaWXv9AhrhRfdN+YZFA+oXHaajg950g4RWkAGX0G YMIQbMd7zJ2pk8C3vWzCdPherCCVMRgRIqdWVUmxWScC+ugP+tR8ewHSbCWeGqBYj200TceTy LUFOAoRqND9b7JrFBcW20Q7+cVDRW1TpJu4t0L1IrczHpoffKIQcLano/UeRXL0yKXE1zpVNT elspxRZreu9PXm8oaifcFgiEvKcMJT2h2RzMQYSsJumv8XcmkUIYEZC2bCtUzIRgY25Wmg3bv ejzZW9/8TuxvjOkDrebGXWrmulCsJWSN3xyHnO54nDnhns5M8MpHyj5m7fpItyZs1tQgxAA7P WSW/LIAdzDgArE= 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=1652640071; 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=aq3c9SULgqZYWAxPKwDtzWCcQ3VU+4WW9+AgSRm56JM=; b=YWoei6AKeSoqK5tVBdBVi0pEd4eG0sd2LMwHuUnn/L53j/VDomuBXP+JKL4SZI+DBwS06b 7MuAW8wDmqO95dIAjh+o3r1idvPfvn4/mGZx8QpTFgOzbA5Lp2v43F34cFfiCiMAgOtOtZ f1UARnfx+fvYYzX6nL13EK5z+D440bXQpvTNu2kX8AAmqNHU/hSbwoz65/TgWrYD+kJozG jJWb0g5OOLZQrIGsUannXfoNCFvahXLTPjoUakTQ9DP6PFjHybgRkNo8aEJ9wiJ2V9jiSM OgH5gCkLgHK1heqISEMTxp96YGpsOfv+d/cjgZu0BXAhKgEDXVjhdPUxEcoJFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652640071; a=rsa-sha256; cv=none; b=X4LCUMchjzvCZL/VXzZd/fY5Ppl0ctRh5NDlHeqoY0vRrwdNl/SBrZlctCCR5PhOCWKba8 NmFdFna8qQN9sUk8mrilTsOG9jrVOYSvkbweDpOwzCJDy5AQyiySCD+BqftIgQSdZ0p/Qx AzspnnBPqftejvQI0dr+jfPKxG9V49i9U7+QQMJ6XNBCAYcHDnYf0o486hWmIFIaecwxy1 dFZ494Dmy0/VD/onSaaaN+lmKcQWJjQAi+wvW2up35QAfvPr3QhxTCq10FZ93kYvb3FsYJ VJrig0O8tmQ2PGW6HLXQmcsz9SurhcjpIzjhzFZvKv65GQr3e1B66nV27Gz72Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=PtPCFfUW; 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.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b=PtPCFfUW; 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: 47272121CD X-Spam-Score: 7.37 X-Migadu-Scanner: scn1.migadu.com X-TUID: oJjk4QpPxClj * 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.36.0