From 76164715dd1b548a2cbdf1f9c9fe36bc50560c9a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 6 May 2024 22:51:29 +0200 Subject: gnu: Add python-notebook-shim. * gnu/packages/jupyter.scm (python-notebook-shim): New variable. Change-Id: I1ed71ea39b37f066c64d3f256a24366055dc7aaa --- gnu/packages/jupyter.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/jupyter.scm') diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index 68b17e7e81..b401e1234d 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -53,6 +53,31 @@ #:use-module (gnu packages serialization) #:use-module (gnu packages version-control)) +(define-public python-notebook-shim + (package + (name "python-notebook-shim") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "notebook_shim" version)) + (sha256 + (base32 "1jrqqrm5xjwsx13plyyh7wybb1g71yrzaqa3l9y3162xnshwzcml")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-jupyter-server)) + (native-inputs + (list python-hatchling + python-pytest + python-pytest-console-scripts + python-pytest-jupyter + python-pytest-tornasync)) + (home-page "https://pypi.org/project/notebook-shim/") + (synopsis "Shim layer for notebook traits and config") + (description + "This project provides a way for JupyterLab and other frontends to switch +to Jupyter Server for their Python Web application backend.") + (license license:bsd-3))) + (define-public python-jupyter-protocol (package (name "python-jupyter-protocol") -- cgit v1.2.3