Patchwork [12/16] gnu: Add python-widgetsnbextension.

login
register
mail settings
Submitter Ricardo Wurmus
Date Nov. 1, 2016, 12:20 p.m.
Message ID <20161101122046.751-13-ricardo.wurmus@mdc-berlin.de>
Download mbox | patch
Permalink /patch/17065/
State New
Headers show

Comments

Ricardo Wurmus - Nov. 1, 2016, 12:20 p.m.
* gnu/packages/python.scm (python-widgetsnbextension,
python2-widgetsnbextension): New variables.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
Roel Janssen - Nov. 1, 2016, 6:11 p.m.
Ricardo Wurmus writes:

> * gnu/packages/python.scm (python-widgetsnbextension,
> python2-widgetsnbextension): New variables.
> ---
>  gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index bd04c80..2611154 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -6857,6 +6857,32 @@ interactive computing.")
>  (define-public python2-notebook
>    (package-with-python2 python-notebook))
>  
> +(define-public python-widgetsnbextension
> +  (package
> +    (name "python-widgetsnbextension")
> +    (version "1.2.6")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "widgetsnbextension" version))
> +       (sha256
> +        (base32
> +         "0lff2mrwrgsa1mxmwx3phl9xvy0jqfpg6khbmxy53jbq56rwy666"))))
> +    (build-system python-build-system)
> +    (propagated-inputs
> +     `(("python-notebook" ,python-notebook)))
> +    (native-inputs
> +     `(("python-nose" ,python-nose)
> +       ("python-setuptools" ,python-setuptools)))
> +    (home-page "http://ipython.org")
> +    (synopsis "IPython HTML widgets for Jupyter")
> +    (description "This package provides interactive HTML widgets for Jupyter
> +notebooks.")
> +    (license license:bsd-3)))
> +
> +(define-public python2-widgetsnbextension
> +  (package-with-python2 python-widgetsnbextension))
> +
>  (define-public python-chardet
>    (package
>      (name "python-chardet")

LGTM!

Kind regards,
Roel Janssen

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index bd04c80..2611154 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6857,6 +6857,32 @@  interactive computing.")
 (define-public python2-notebook
   (package-with-python2 python-notebook))
 
+(define-public python-widgetsnbextension
+  (package
+    (name "python-widgetsnbextension")
+    (version "1.2.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "widgetsnbextension" version))
+       (sha256
+        (base32
+         "0lff2mrwrgsa1mxmwx3phl9xvy0jqfpg6khbmxy53jbq56rwy666"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-notebook" ,python-notebook)))
+    (native-inputs
+     `(("python-nose" ,python-nose)
+       ("python-setuptools" ,python-setuptools)))
+    (home-page "http://ipython.org")
+    (synopsis "IPython HTML widgets for Jupyter")
+    (description "This package provides interactive HTML widgets for Jupyter
+notebooks.")
+    (license license:bsd-3)))
+
+(define-public python2-widgetsnbextension
+  (package-with-python2 python-widgetsnbextension))
+
 (define-public python-chardet
   (package
     (name "python-chardet")