guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

74/361: gnu: Add python-notebook-shim.


From: guix-commits
Subject: 74/361: gnu: Add python-notebook-shim.
Date: Thu, 21 Nov 2024 06:28:52 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit 90b5b66af1f81f26a00d9a38e0e256f9b1fedee3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon May 6 22:51:29 2024 +0200

    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(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]