mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
gnu: Add python-astor.
* gnu/packages/python.scm (python-astor, python2-astor): New variables.
This commit is contained in:
parent
c06a3de93a
commit
4ecdeef8ae
1 changed files with 23 additions and 0 deletions
|
@ -7009,3 +7009,26 @@ (define-public python-clint
|
|||
|
||||
(define-public python2-clint
|
||||
(package-with-python2 python-clint))
|
||||
|
||||
(define-public python-astor
|
||||
(package
|
||||
(name "python-astor")
|
||||
(version "0.5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "astor" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1fdafq5hkis1fxqlmhw0sn44zp2ar46nxhbc22cvwg7hsd8z5gsa"))))
|
||||
(build-system python-build-system)
|
||||
(inputs
|
||||
`(("python-setuptools" ,python-setuptools)))
|
||||
(home-page "https://github.com/berkerpeksag/astor")
|
||||
(synopsis "Read and write Python ASTs")
|
||||
(description
|
||||
"Astor is designed to allow easy manipulation of Python source via the
|
||||
Abstract Syntax Tree.")
|
||||
(license bsd-3)))
|
||||
|
||||
(define-public python2-astor
|
||||
(package-with-python2 python-astor))
|
||||
|
|
Loading…
Reference in a new issue