Patchwork gnu: Add inputs for xonsh.

login
register
mail settings
Submitter Danny Milosavljevic
Date Sept. 29, 2016, 10:50 a.m.
Message ID <20160929105016.15727-1-dannym@scratchpost.org>
Download mbox | patch
Permalink /patch/16143/
State New
Headers show

Comments

Danny Milosavljevic - Sept. 29, 2016, 10:50 a.m.
* gnu/packages/shells.scm (xonsh): Add inputs.
---
 gnu/packages/shells.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

Patch

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index c165f99..e8ad701 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -281,8 +281,23 @@  ksh, and tcsh.")
         (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)
+    (native-inputs
+     `(("python-numpydoc" ,python-numpydoc)))
+    (inputs
+      ;; TODO jupyter distro cloud Sphinx-Theme
+     `(("python-ply" ,python-ply)
+       ("python-sphinx" ,python-sphinx)
+       ("python-prompt-toolkit" ,python-prompt-toolkit)))
     (home-page "http://xon.sh/")
     (synopsis "Python-ish shell")
     (description