aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-11-01 13:20:44 +0100
committerRicardo Wurmus <rekado@elephly.net>2016-11-04 21:23:07 +0100
commit8ceebf8fa6d513e86e3292727678b0d21b885d08 (patch)
treed214736d2d2314f73da926a75a197823d30ab035 /gnu
parent4fe2e34409cb1aad6a19e2cf93ebeb7f555a703f (diff)
downloadguix-8ceebf8fa6d513e86e3292727678b0d21b885d08.tar
guix-8ceebf8fa6d513e86e3292727678b0d21b885d08.tar.gz
gnu: Add python-jupyter-console.
* gnu/packages/python.scm (python-jupyter-console, python2-jupyter-console): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3f0b2b3dd5..09fab7b17c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6899,6 +6899,37 @@ in the data.")
(define-public python2-ipywidgets
(package-with-python2 python-ipywidgets))
+(define-public python-jupyter-console
+ (package
+ (name "python-jupyter-console")
+ (version "5.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "jupyter_console" version))
+ (sha256
+ (base32
+ "04acmkwsi99rcg3vb54c6n492zv35s92h2ahabc0w6wj976cipvx"))))
+ (build-system python-build-system)
+ ;; FIXME: it's not clear how to run the tests.
+ (arguments `(#:tests? #f))
+ (propagated-inputs
+ `(("python-ipykernel" ,python-ipykernel)
+ ("python-ipython" ,python-ipython)
+ ("python-jupyter-client" ,python-jupyter-client)
+ ("python-prompt-toolkit" ,python-prompt-toolkit)
+ ("python-pygments" ,python-pygments)
+ ("python-setuptools" ,python-setuptools)))
+ (home-page "https://jupyter.org")
+ (synopsis "Jupyter terminal console")
+ (description "This package provides a terminal-based console frontend for
+Jupyter kernels. It also allows for console-based interaction with non-Python
+Jupyter kernels such as IJulia and IRKernel.")
+ (license license:bsd-3)))
+
+(define-public python2-jupyter-console
+ (package-with-python2 python-jupyter-console))
+
(define-public python-chardet
(package
(name "python-chardet")