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 sI0cLfWxD2JurgAAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 15:49:25 +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 MMbKJfWxD2K1DQEAG6o9tA (envelope-from ) for ; Fri, 18 Feb 2022 15:49:25 +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 4902F2FEA6 for ; Fri, 18 Feb 2022 15:49:25 +0100 (CET) Received: from localhost ([::1]:41776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL4ZX-0005aC-Lu for larch@yhetil.org; Fri, 18 Feb 2022 09:49:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL4RZ-0005fB-5r for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nL4RY-0005U0-Qo for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nL4RY-0008WG-PE for guix-patches@gnu.org; Fri, 18 Feb 2022 09:41:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH v4 21/31] gnu: Add tree-sitter-python. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Feb 2022 14:41:08 +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.164519524332568 (code B ref 49946); Fri, 18 Feb 2022 14:41:08 +0000 Received: (at 49946) by debbugs.gnu.org; 18 Feb 2022 14:40:43 +0000 Received: from localhost ([127.0.0.1]:53808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4R9-0008T7-9t for submit@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:43 -0500 Received: from mout.gmx.net ([212.227.17.22]:50687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL4QY-0008O3-JI for 49946@debbugs.gnu.org; Fri, 18 Feb 2022 09:40:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645195200; bh=HQE6RfKRkML5WrNo2X1EFl6xFkux7yBjGX4uVG8jOxM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=je/Vq0uqmmswpNaBmK0bp30TJ3YhLuLOr9CnoLKyo8ldxIziHluE//O2YedCEb0ot z59ZmDyq2dETHNKXnjKajs+ARek2BOqfEWi6L5j6Eq5DHcPK6iju5dndINJa1KuQqU YFKlc36DSi9SrBxHEKqMXnH2UrIsbIzCZ31RmhUY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MdvmY-1nsTR82xyY-00b015; Fri, 18 Feb 2022 15:40:00 +0100 From: Pierre Langlois Date: Fri, 18 Feb 2022 14:39:38 +0000 Message-Id: <20220218143948.28989-21-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220218143948.28989-1-pierre.langlois@gmx.com> References: <877d9s2qa9.fsf@gmx.com> <20220218143948.28989-1-pierre.langlois@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:kb38W1NsIJsIhnJBfPRe3ad8c/1Ro06mLIgPxgV/JU8TyNViWmz GyTLb8JxfIDlbXqwjhGmHpQGnbeWR5ImuGsyk2sGvi+W0Mif0pODFVWKw5yFS4Ohz/Na8j0 r903cOxOHp1eo7jU1+sZPonpB7vUxoJYHst0PULv/0XAAAQJzargfDuYS0F+J61e/S+F7Lc FkO7pjWJcbtCFhrNre3sQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:jwu81+EXegA=:K0HajytcYvmWXR4tlejv4L 2R3y8bSlPQ+f4SnIoz8D+j1X3ziUiIUCIt6jStrzoRk3DXjubb2nBBAZxG957xrpeA4ad9H+D 8CU/ET0L+gSjxHTqzrUz/5zmxgD9CVKZwKu0/xd7RvsCgg2lCaEKhAmadVpyGcnpbWv/9GoWp JaBu7Y0qfpyL42I/SnEASi4aoGKuryyooMMb1z8C0arDthFGxG0vL+xW9mF2ouqZnvZiwCR4u l8WpF1Jlapi8ePa1V+W/rIDzh55MJTeotrI5fq9g7IrLl+b15lPbEwNMXvzbM5n6jEkHIDawv EA+UbqEWVFtmMVcCUWuAQRao3ep4z7/K8KH3pLwKBtaJf+dEbmEHhX8MZ+GvQCN7uvyRpL+kf M1B/8Uabkxn+k1Hfz7JQOKGiDvV2w0MaIfGshAwiS5oceGaMwQxpeVML0IuK1YgvYIqB/RIOM 0w5qNQ0xWjCX4IYIvztprqJKpHDMt7XuiuOaIGD9xIJOi3X5+CIwPS+0MbwccCH29YNG159M4 3T7IAKa8j6dEYTv5z0ahOyIOVK7SbMdf3Sevahv+Wpo0SWkrkvymxzpsghD9n+3EBgC0XkJrn QkFPpUbSZFZBDavuaY+NqIj/N8PViIQ+Kce63ER0gqcG9rpnU98IuLovVHKKNTRBfIiMpLTDS d5FVyrE1QZuOkOVGl7LGJCuoc0zzCi4763bG6xEVahi4sAGfki3INylS0MsdrOadm2xN0MAjp cov8lidiWUr6ZN/puht5tEsSD6QaQ0LgHAAoP9NQlbB+4cwpmpoUwcL2c8KRrOkRWO+7nSN+Z 1ItKZn0XZ4ZbZnQTJRNWjdmBF3/M7AbcKeeaHjS6V3JYhNGbcy8Hvk7GJY82AhhVVlLXzYy0S xAf9nnHFIDlKtXbk6YzJGx2DX+3mH6pPN1deXx9DZpUFKk/LZREaxk5/Zj1kTGmWxieknHM/P PARHVaM5oWpqTTy2/0aPhxHirdLpEPbx2ZpEmkGhKr0H7yaFfzgaj0zO1G3JvyJcRh7NNRZ9H 4PrUmmk+brLgo2IVYyDaWjiKtdgBuxY4L1tAU5KhIPxZPBtb7kXywUvVrU9ccWcz7ihlIwPuX sUstS3n2Fqhg9o= 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645195765; 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=yZEG5Svz2+ygNmatYpd0icf7LdkwSjXacQMFC8rTKfg=; b=HDnzlEkWXAqmpTy/pHZfzklm/MbJVOw1gO4T1aZTuCkZmTZrjlXEUpOvGdU8rUZtaCnNm4 Yay/6sDoqZp1pXXIh5njmSYJ7aVOmB2MgXGISEZD0u4YO3wPMPOJKOm2LygMnbs+ZQzRzn onNUvcayF+CBaKtJn8lRKMuHjXrcMrVO/HGXEGan856s//ZScB/mSbvS/PRSPHmepzwAVQ qgWmbeV+iLZ3I7KXiBCqptAvlcyTQ6LdKh9Zk+573MlimVEIZvBo+3GHsUpaL5JFa5tH+Q 3JSnlpfGSoPE0Zn+3+59kBOim/uZvPhJMo+jBXozKL63TMp7FmTdau1qHdNsGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645195765; a=rsa-sha256; cv=none; b=R7yqVJGvhit9q5cWAjRlvrQRSBkoWUBWiOopewKC4M14KdRNncq7r2/xANgE7+gS7mETNq YWblLt0L2x/YxgVJVHOub3RQaCUGqSQXx5EvsYaJcmAktcUKJXG+CuxCubZ8uaG7PqV2EA HNghLc/lJDxIR3sH/OZsOMnPsJnpBMANpS/6Mg6vqfSF8C5CoYUuQ+TOz/QZX98m3pJmUb c+dOu9z6JFhaCtL7Egn0hywpwyW1rIq/5Odut+s2wYCdeFvUKdEE9iM3MOpa5YECkhInjf THPHXMm8aRqCI6T7vPv8hcPl2JxwsVQWDJIFiWGMl2tID89NdITkhp0fnfsd0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b="je/Vq0uq"; 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: -0.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.net header.s=badeba3b8450 header.b="je/Vq0uq"; 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: 4902F2FEA6 X-Spam-Score: -0.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0a4ZcmaEpEEG * gnu/packages/tree-sitter.scm (tree-sitter-python): New variable. =2D-- gnu/packages/tree-sitter.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index e64e248215..cecce9af50 100644 =2D-- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -651,3 +651,26 @@ (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 (inherit tree-sitter-c) + (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))) + (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 librar= y.") + (license license:expat)))) =2D- 2.34.0