aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-05-06 11:32:59 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-05-06 13:02:59 +0200
commit549e478f2355e3283e3a80fa16d7adb29162e66b (patch)
tree53ae3fcd8346c174f50129195329c62c5df6e0a6
parent221bf543e8e92230424d7d3ca7f1c61c33b536f9 (diff)
downloadguix-549e478f2355e3283e3a80fa16d7adb29162e66b.tar
guix-549e478f2355e3283e3a80fa16d7adb29162e66b.tar.gz
gnu: Add python-ipydatawidgets.
* gnu/packages/jupyter.scm (python-ipydatawidgets): New variable.
-rw-r--r--gnu/packages/jupyter.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 97f7a5e73d..bea53ba912 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -37,6 +37,7 @@
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
+ #:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages python-web)
#:use-module (gnu packages rdf)
@@ -545,6 +546,38 @@ enables the interactive features of matplotlib in the Jupyter notebook and in
JupyterLab.")
(license license:bsd-3)))
+(define-public python-ipydatawidgets
+ (package
+ (name "python-ipydatawidgets")
+ (version "4.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ipydatawidgets" version))
+ (sha256
+ (base32 "1g65nzlsb1cipmvh9v27b22kkmzwvg8zbf32hmg1c25mb65vbr6h"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-v")))))))
+ (propagated-inputs
+ (list python-ipywidgets python-numpy python-six python-traittypes))
+ (native-inputs
+ (list python-jupyter-packaging
+ python-nbval
+ python-pytest
+ python-pytest-cov))
+ (home-page "https://github.com/vidartf/ipydatawidgets")
+ (synopsis "Widgets to help facilitate reuse of large datasets across widgets")
+ (description
+ "This package provides a set of widgets to help facilitate reuse of large
+datasets across widgets.")
+ (license license:bsd-3)))
+
(define-public python-voila
(package
(name "python-voila")