[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: Add python-notebook.
From: |
Ricardo Wurmus |
Subject: |
03/08: gnu: Add python-notebook. |
Date: |
Fri, 4 Nov 2016 20:23:55 +0000 (UTC) |
rekado pushed a commit to branch master
in repository guix.
commit a0d62280f56050848b8f021db28c857a56d6f7dc
Author: Ricardo Wurmus <address@hidden>
Date: Tue Nov 1 13:20:41 2016 +0100
gnu: Add python-notebook.
* gnu/packages/python.scm (python-notebook, python2-notebook): New
variables.
---
gnu/packages/python.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7a5f3a3..453e7e6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6804,6 +6804,44 @@ convert an @code{.ipynb} notebook file into various
static formats including:
(define-public python2-nbconvert
(package-with-python2 python-nbconvert))
+(define-public python-notebook
+ (package
+ (name "python-notebook")
+ (version "4.2.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "notebook" version))
+ (sha256
+ (base32
+ "0laq5c2f21frq6xcdckgq7raqhznbjb0qs0357g612z87wyn1a9r"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ ;; HOME must be set for tests
+ (setenv "HOME" "/tmp")
+ (zero? (system* "nosetests")))))))
+ (propagated-inputs
+ `(("python-jupyter-core" ,python-jupyter-core)
+ ("python-nbformat" ,python-nbformat)
+ ("python-nbconvert" ,python-nbconvert)
+ ("python-ipython" ,python-ipython)))
+ (native-inputs
+ `(("python-nose" ,python-nose)
+ ("python-sphinx" ,python-sphinx)
+ ("python-requests" ,python-requests)))
+ (home-page "http://jupyter.org/")
+ (synopsis "Web-based notebook environment for interactive computing")
+ (description
+ "The Jupyter HTML notebook is a web-based notebook environment for
+interactive computing.")
+ (license license:bsd-3)))
+
+(define-public python2-notebook
+ (package-with-python2 python-notebook))
+
(define-public python-chardet
(package
(name "python-chardet")
- branch master updated (0872283 -> c27ae82), Ricardo Wurmus, 2016/11/04
- 01/08: gnu: Add python-entrypoints., Ricardo Wurmus, 2016/11/04
- 08/08: gnu: Add jupyter., Ricardo Wurmus, 2016/11/04
- 02/08: gnu: Add python-nbconvert., Ricardo Wurmus, 2016/11/04
- 04/08: gnu: Add python-widgetsnbextension., Ricardo Wurmus, 2016/11/04
- 03/08: gnu: Add python-notebook.,
Ricardo Wurmus <=
- 05/08: gnu: Add python-ipywidgets., Ricardo Wurmus, 2016/11/04
- 06/08: gnu: Add python-jupyter-console., Ricardo Wurmus, 2016/11/04
- 07/08: gnu: python-ipython: Update to 4.0.0., Ricardo Wurmus, 2016/11/04