From 549e478f2355e3283e3a80fa16d7adb29162e66b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 6 May 2022 11:32:59 +0200 Subject: 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 @@ (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") -- cgit v1.2.3