[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 11/16] gnu: Add python-notebook.
From: |
Roel Janssen |
Subject: |
Re: [PATCH 11/16] gnu: Add python-notebook. |
Date: |
Tue, 01 Nov 2016 19:10:51 +0100 |
User-agent: |
mu4e 0.9.17; emacs 25.1.1 |
Ricardo Wurmus writes:
> * 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 4463f50..bd04c80 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -6819,6 +6819,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")
LGTM!
Kind regards,
Roel Janssen
- Re: [PATCH 08/16] gnu: Add python-bleach., (continued)
Re: [PATCH 08/16] gnu: Add python-bleach., Roel Janssen, 2016/11/01
[PATCH 09/16] gnu: Add python-entrypoints., Ricardo Wurmus, 2016/11/01
[PATCH 10/16] gnu: Add python-nbconvert., Ricardo Wurmus, 2016/11/01
[PATCH 11/16] gnu: Add python-notebook., Ricardo Wurmus, 2016/11/01
- Re: [PATCH 11/16] gnu: Add python-notebook.,
Roel Janssen <=
[PATCH 12/16] gnu: Add python-widgetsnbextension., Ricardo Wurmus, 2016/11/01
[PATCH 13/16] gnu: Add python-ipywidgets., Ricardo Wurmus, 2016/11/01
[PATCH 14/16] gnu: Add python-jupyter-console., Ricardo Wurmus, 2016/11/01
[PATCH 15/16] gnu: python-ipython: Update to 4.0.0., Ricardo Wurmus, 2016/11/01