gnu: Add python-ipydatawidgets.

* gnu/packages/jupyter.scm (python-ipydatawidgets): New variable.
This commit is contained in:
Ricardo Wurmus 2022-05-06 11:32:59 +02:00
parent 221bf543e8
commit 549e478f23
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -37,6 +37,7 @@ (define-module (gnu packages jupyter)
#: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 @@ (define-public python-ipympl
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")