[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41807] [PATCH 22/26] gnu: Add python-libcst.
From: |
Giacomo Leidi |
Subject: |
[bug#41807] [PATCH 22/26] gnu: Add python-libcst. |
Date: |
Thu, 11 Jun 2020 17:13:53 +0200 |
* gnu/packages/python-xyz.scm (python-libcst): New variable.
---
gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6cff8a0263..85b71763ae 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20427,3 +20427,34 @@ runtime inspection of types defined in the Python
standard typing module.")
"This is an implementation of PEP 557, Data Classes. It is a
backport of the @code{dataclasses} module for Python 3.6.")
(license license:asl2.0)))
+
+(define-public python-libcst
+ (package
+ (name "python-libcst")
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "libcst" version))
+ (sha256
+ (base32
+ "1lxwjw3a302i0ka3ykcsc1r4c94zskzlgn3rqs2h0kmchp0g74qz"))))
+ (build-system python-build-system)
+ (arguments
+ ;; FIXME: Tests depend on python-hypothesmith and python-pyre-check,
+ ;; introducing a circular dependency.
+ '(#:tests? #f))
+ (propagated-inputs
+ `(("python-dataclasses" ,python-dataclasses)
+ ("python-pyyaml" ,python-pyyaml)
+ ("python-typing-extensions"
+ ,python-typing-extensions)
+ ("python-typing-inspect" ,python-typing-inspect)))
+ (home-page "https://github.com/Instagram/LibCST")
+ (synopsis
+ "Concrete Syntax Tree (CST) parser and serializer library for Python")
+ (description
+ "LibCST parses Python 3.0, 3.1, 3.3, 3.5, 3.6, 3.7 or 3.8 source code
+as a CST tree that keeps all formatting details (comments, whitespaces,
parentheses,
+etc.). It's useful for building automated refactoring applications and
linters.")
+ (license license:expat)))
--
2.26.2
- [bug#41807] [PATCH 04/26] gnu: Add python-curio., (continued)
- [bug#41807] [PATCH 04/26] gnu: Add python-curio., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 12/26] gnu: Add python-hyperframe., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 05/26] gnu: Add python-sniffio., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 09/26] gnu: Add python-aiofiles., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 14/26] gnu: Add python-hstspreload., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 16/26] gnu: Add python-flake8-pyi., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 17/26] gnu: Add python-typing-inspect., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 19/26] gnu: Add python-pyre-extensions., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 02/26] gnu: Add python-immutables., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 11/26] gnu: Add python-hpack., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 22/26] gnu: Add python-libcst.,
Giacomo Leidi <=
- [bug#41807] [PATCH 23/26] gnu: Add python-pywatchman., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 25/26] gnu: Add python-uvloop., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 24/26] gnu: Add python-httpx., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 26/26] gnu: Add python-sanic., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCHES] Add python-sanic and dependencies., paul, 2020/06/11
- [bug#41807] [PATCHES] Add python-sanic and dependencies., Lars-Dominik Braun, 2020/06/17