unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add inputs for xonsh.
Date: Thu, 29 Sep 2016 12:50:16 +0200	[thread overview]
Message-ID: <20160929105016.15727-1-dannym@scratchpost.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 156 bytes --]


* gnu/packages/shells.scm (xonsh): Add inputs.
---
 gnu/packages/shells.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-inputs-for-xonsh.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-inputs-for-xonsh.patch", Size: 1095 bytes --]

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

             reply	other threads:[~2016-09-29 10:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-29 10:50 Danny Milosavljevic [this message]
2016-09-29 16:44 ` [PATCH] gnu: Add inputs for xonsh Leo Famulari
2016-09-29 19:08   ` Danny Milosavljevic
2016-09-29 19:39     ` Danny Milosavljevic
2016-09-29 21:10       ` Leo Famulari
2016-09-29 21:13     ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160929105016.15727-1-dannym@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).