gnu: xonsh: Remove bundled PLY.

* gnu/packages/shells.scm (xonsh)[source]: Add snippet to remove bundled
python-ply.
[inputs]: Add python-ply.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Danny Milosavljevic 2016-09-29 12:39:42 -04:00 committed by Leo Famulari
parent 86d8f6d3ef
commit cfb7e269e9
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -281,8 +281,18 @@ (define-public xonsh
(uri (pypi-uri "xonsh" version))
(sha256
(base32
"0byxd9kjl99q2pyvjh9jy18l0di1i35wr0qqgnw4i6jh6ig3zcki"))))
"0byxd9kjl99q2pyvjh9jy18l0di1i35wr0qqgnw4i6jh6ig3zcki"))
(modules '((guix build utils)))
(snippet
`(begin
;; Delete bundled ply.
(delete-file-recursively "xonsh/ply")
(substitute* '("setup.py")
(("'xonsh\\.ply',") ""))
#t))))
(build-system python-build-system)
(inputs
`(("python-ply" ,python-ply)))
(home-page "http://xon.sh/")
(synopsis "Python-ish shell")
(description