aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2019-01-15 15:47:32 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-15 17:27:34 +0100
commit79869f806432522d4d9b60f0af1294e8808514b6 (patch)
tree82a5ce5d8c83b858490d03f106b4def8ad887e49
parent81bed4e92b75c06605938371f5365d7283a7a9fd (diff)
downloadgnu-guix-79869f806432522d4d9b60f0af1294e8808514b6.tar
gnu-guix-79869f806432522d4d9b60f0af1294e8808514b6.tar.gz
gnu: Add python-astunparse.
* gnu/packages/python-xyz.scm (python-astunparse): New variable.
-rw-r--r--gnu/packages/python-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d6f994a3f5..38a5087e9b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14713,6 +14713,29 @@ of Python libraries for building Python applications.")
source via the AST.")
(license license:bsd-3)))
+(define-public python-astunparse
+ (package
+ (name "python-astunparse")
+ (version "1.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "astunparse" version))
+ (sha256
+ (base32
+ "1jhidwyrqn17avqh9xnnm3wd7q7aahaq009cba67g86y6gxicyyj"))))
+ (build-system python-build-system)
+ (arguments '(#:tests? #f)) ; there are none
+ (propagated-inputs
+ `(("python-six" ,python-six)
+ ("python-wheel" ,python-wheel)))
+ (home-page "https://github.com/simonpercivall/astunparse")
+ (synopsis "AST unparser for Python")
+ (description "This package provides an AST unparser for Python. It is a
+factored out version of @code{unparse} found in the Python source
+distribution.")
+ (license license:bsd-3)))
+
(define-public python-wikidata
(package
(name "python-wikidata")