[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/166: gnu: Add python-asttokens.
From: |
guix-commits |
Subject: |
04/166: gnu: Add python-asttokens. |
Date: |
Tue, 19 Apr 2022 09:17:46 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 8be780e8595cfee4bce15881d8a07225a35dc139
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Mar 23 00:28:29 2022 -0400
gnu: Add python-asttokens.
* gnu/packages/python-xyz.scm (python-asttokens): New variable.
---
gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 82340c0155..d3570f45df 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8993,6 +8993,28 @@ callback signature using a prototype function.")
abstract syntax tree (AST) nodes without side effects.")
(license license:expat)))
+(define-public python-asttokens
+ (package
+ (name "python-asttokens")
+ (version "2.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "asttokens" version))
+ (sha256
+ (base32 "1mglbkikxvnhrk3inbx0v1qzxwd38qjr6l35sn098yicy0ac2m4s"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-six))
+ (native-inputs (list python-astroid python-pytest python-setuptools-scm))
+ (home-page "https://github.com/gristlabs/asttokens")
+ (synopsis "Python library to annotate abstract syntax trees")
+ (description "The @code{asttokens} module annotates Python abstract syntax
+trees (ASTs) with the positions of tokens and text in the source code that
+generated them. It makes it possible for tools that work with logical AST
+nodes to find the particular text that resulted in those nodes, for example
+for automated refactoring or highlighting.")
+ (license license:asl2.0)))
+
(define-public python-ipython
(package
(name "python-ipython")
- branch wip-ipython+polyglossia created (now 7c6022d91b), guix-commits, 2022/04/19
- 01/166: gnu: python-ipython: Re-order fields., guix-commits, 2022/04/19
- 05/166: gnu: Add python-littleutils., guix-commits, 2022/04/19
- 07/166: gnu: python-traitlets: Update to 5.1.1., guix-commits, 2022/04/19
- 02/166: gnu: python-astroid: Propagate python-typing-extensions., guix-commits, 2022/04/19
- 03/166: gnu: Add python-pure-eval., guix-commits, 2022/04/19
- 04/166: gnu: Add python-asttokens.,
guix-commits <=
- 06/166: gnu: Add python-stack-data., guix-commits, 2022/04/19
- 08/166: gnu: python-jinja2: Update to 3.1.1., guix-commits, 2022/04/19
- 09/166: gnu: python-prompt-toolkit: Update to 3.0.29., guix-commits, 2022/04/19
- 12/166: gnu: Add texlive-paralist., guix-commits, 2022/04/19
- 13/166: gnu: Add texlive-stix2-otf., guix-commits, 2022/04/19
- 14/166: gnu: Add texlive-metalogo., guix-commits, 2022/04/19
- 15/166: gnu: Add texlive-makecmds., guix-commits, 2022/04/19
- 16/166: gnu: Add texlive-csplain., guix-commits, 2022/04/19
- 10/166: gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699]., guix-commits, 2022/04/19
- 20/166: gnu: Add opentype-sanitizer., guix-commits, 2022/04/19