[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: gnu: Add python-ipydatawidgets.
From: |
guix-commits |
Subject: |
05/05: gnu: Add python-ipydatawidgets. |
Date: |
Fri, 6 May 2022 07:12:56 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 549e478f2355e3283e3a80fa16d7adb29162e66b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 6 11:32:59 2022 +0200
gnu: Add python-ipydatawidgets.
* gnu/packages/jupyter.scm (python-ipydatawidgets): New variable.
---
gnu/packages/jupyter.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
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")