unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* gnu: Add xonsh
@ 2016-09-21 20:01 Stefan Reichör
  2016-09-21 21:18 ` Danny Milosavljevic
  2016-09-28 17:44 ` Leo Famulari
  0 siblings, 2 replies; 6+ messages in thread
From: Stefan Reichör @ 2016-09-21 20:01 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-xonsh.patch --]
[-- Type: text/x-diff, Size: 1547 bytes --]

From 966f98c8c83d69e71e6cf38c5521b6237990a81c Mon Sep 17 00:00:00 2001
From: Stefan Reichoer <stefan@xsteve.at>
Date: Wed, 21 Sep 2016 21:58:52 +0200
Subject: [PATCH] gnu: Add xonsh.

* gnu/packages/python.scm (xonsh): New variable.
---
 gnu/packages/python.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a186557..3454f56 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9428,6 +9428,28 @@ It uses LR parsing and does extensive error checking.")
               (strip-python2-variant python-ply)))
     (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
 
+(define-public xonsh
+  (package
+    (name "xonsh")
+    (version "0.4.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "xonsh" version))
+        (sha256
+          (base32
+            "0byxd9kjl99q2pyvjh9jy18l0di1i35wr0qqgnw4i6jh6ig3zcki"))))
+    (build-system python-build-system)
+    (home-page "http://xon.sh/")
+    (synopsis "Python-ish shell")
+    (description
+     "Xonsh is a Python-ish, BASHwards-looking shell language and command
+prompt. The language is a superset of Python 3.4+ with additional shell
+primitives that you are used to from Bash and IPython. It works on all major
+systems including Linux, Mac OSX, and Windows. Xonsh is meant for the daily
+use of experts and novices alike.")
+    (license license:bsd-3)))
+
 (define-public python-tabulate
   (package
     (name "python-tabulate")
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: gnu: Add xonsh
  2016-09-21 20:01 gnu: Add xonsh Stefan Reichör
@ 2016-09-21 21:18 ` Danny Milosavljevic
  2016-09-27 16:59   ` Leo Famulari
  2016-09-28 17:44 ` Leo Famulari
  1 sibling, 1 reply; 6+ messages in thread
From: Danny Milosavljevic @ 2016-09-21 21:18 UTC (permalink / raw)
  To: Stefan Reichör; +Cc: guix-devel

Hi,

thanks for this package! With the recent how-did-anyone-think-that-was-a-good-idea in bash (again), this is very useful.

However, are you sure you want to have no inputs for xonsh?

I can see that it supports at least these:
- python-ply
- python-sphinx
- python-numpydoc
- python-prompt-toolkit

And maybe also these features (not that important):
- jupyter
- setproctitle
- distro
- Cloud
- Sphinx-Theme

What do you think?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gnu: Add xonsh
  2016-09-21 21:18 ` Danny Milosavljevic
@ 2016-09-27 16:59   ` Leo Famulari
  2016-09-27 19:38     ` Danny Milosavljevic
  0 siblings, 1 reply; 6+ messages in thread
From: Leo Famulari @ 2016-09-27 16:59 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel, Stefan Reichör

On Wed, Sep 21, 2016 at 11:18:28PM +0200, Danny Milosavljevic wrote:
> Hi,
> 
> thanks for this package! With the recent how-did-anyone-think-that-was-a-good-idea in bash (again), this is very useful.
> 
> However, are you sure you want to have no inputs for xonsh?
> 
> I can see that it supports at least these:
> - python-ply
> - python-sphinx
> - python-numpydoc
> - python-prompt-toolkit
> 
> And maybe also these features (not that important):
> - jupyter
> - setproctitle
> - distro
> - Cloud
> - Sphinx-Theme
> 
> What do you think?

Should it block the package? Or perhaps we can push the patch as-is and
you can submit a follow-up to add the features you want?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gnu: Add xonsh
  2016-09-27 16:59   ` Leo Famulari
@ 2016-09-27 19:38     ` Danny Milosavljevic
  2016-09-28 14:06       ` Stefan Reichör
  0 siblings, 1 reply; 6+ messages in thread
From: Danny Milosavljevic @ 2016-09-27 19:38 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel, Stefan Reichör

On Tue, 27 Sep 2016 12:59:08 -0400
Leo Famulari <leo@famulari.name> wrote:

> Should it block the package? Or perhaps we can push the patch as-is and
> you can submit a follow-up to add the features you want?

It's fine to use as-is, it just looks like a shell from 1973 :)

LGTM.

Also, I've tested Stefan's package and it works.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gnu: Add xonsh
  2016-09-27 19:38     ` Danny Milosavljevic
@ 2016-09-28 14:06       ` Stefan Reichör
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Reichör @ 2016-09-28 14:06 UTC (permalink / raw)
  To: guix-devel

Danny Milosavljevic <dannym@scratchpost.org> writes:

> On Tue, 27 Sep 2016 12:59:08 -0400
> Leo Famulari <leo@famulari.name> wrote:
>
>> Should it block the package? Or perhaps we can push the patch as-is and
>> you can submit a follow-up to add the features you want?
>
> It's fine to use as-is, it just looks like a shell from 1973 :)
>
> LGTM.
>
> Also, I've tested Stefan's package and it works.

I think it should work in that configuration. I am just starting to use
it. For me it has the potential to be the shell for 2023 ;-)

Stefan.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gnu: Add xonsh
  2016-09-21 20:01 gnu: Add xonsh Stefan Reichör
  2016-09-21 21:18 ` Danny Milosavljevic
@ 2016-09-28 17:44 ` Leo Famulari
  1 sibling, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2016-09-28 17:44 UTC (permalink / raw)
  To: Stefan Reichör; +Cc: guix-devel

On Wed, Sep 21, 2016 at 10:01:30PM +0200, Stefan Reichör wrote:
> Subject: [PATCH] gnu: Add xonsh.
> 
> * gnu/packages/python.scm (xonsh): New variable.

I corrected the license to bsd-2 [0], moved the package definition to
(gnu packages shells) and pushed as 1d51585573f491.

Thanks!

[0]
https://github.com/xonsh/xonsh/blob/e10c38deccf94189012cca9864cac2bff77dd984/license

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-09-28 17:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-21 20:01 gnu: Add xonsh Stefan Reichör
2016-09-21 21:18 ` Danny Milosavljevic
2016-09-27 16:59   ` Leo Famulari
2016-09-27 19:38     ` Danny Milosavljevic
2016-09-28 14:06       ` Stefan Reichör
2016-09-28 17:44 ` Leo Famulari

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).