[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: gnu: Add python-nbconvert.
From: |
Ricardo Wurmus |
Subject: |
02/08: gnu: Add python-nbconvert. |
Date: |
Fri, 4 Nov 2016 20:23:55 +0000 (UTC) |
rekado pushed a commit to branch master
in repository guix.
commit c60898a845301f2ac1c8845c843907cb6e98224e
Author: Ricardo Wurmus <address@hidden>
Date: Tue Nov 1 13:20:40 2016 +0100
gnu: Add python-nbconvert.
* gnu/packages/python.scm (python-nbconvert, python2-nbconvert): New
variables.
---
gnu/packages/python.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9aa3e49..7a5f3a3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6759,6 +6759,51 @@ functions to find and load entry points.")
(define-public python2-entrypoints
(package-with-python2 python-entrypoints))
+(define-public python-nbconvert
+ (package
+ (name "python-nbconvert")
+ (version "5.0.0b1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "nbconvert" version))
+ (sha256
+ (base32
+ "0brclbb18l4nmd5qy3dl9wn05rjdh1fz4rmzdlfqacj12rcdvdgp"))))
+ (build-system python-build-system)
+ ;; The "bdist_egg" target is disabled by default, causing the installation
+ ;; to fail.
+ (arguments `(#:configure-flags (list "bdist_egg")))
+ (propagated-inputs
+ `(("python-bleach" ,python-bleach)
+ ("python-entrypoints" ,python-entrypoints)
+ ("python-jinja2" ,python-jinja2)
+ ("python-jupyter-core" ,python-jupyter-core)
+ ("python-mistune" ,python-mistune)
+ ("python-nbformat" ,python-nbformat)
+ ("python-pygments" ,python-pygments)
+ ("python-setuptools" ,python-setuptools)
+ ("python-traitlets" ,python-traitlets)))
+ (home-page "http://jupyter.org")
+ (synopsis "Converting Jupyter Notebooks")
+ (description "The @code{nbconvert} tool, @{jupyter nbconvert}, converts
+notebooks to various other formats via Jinja templates. It allows you to
+convert an @code{.ipynb} notebook file into various static formats including:
+
address@hidden
address@hidden HTML
address@hidden LaTeX
address@hidden PDF
address@hidden Reveal JS
address@hidden Markdown (md)
address@hidden ReStructured Text (rst)
address@hidden executable script
address@hidden enumerate\n")
+ (license license:bsd-3)))
+
+(define-public python2-nbconvert
+ (package-with-python2 python-nbconvert))
+
(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 <=
- 04/08: gnu: Add python-widgetsnbextension., Ricardo Wurmus, 2016/11/04
- 03/08: gnu: Add python-notebook., Ricardo Wurmus, 2016/11/04
- 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