guix-commits
[Top][All Lists]
Advanced

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

12/46: gnu: Add python-notebook-shim.


From: guix-commits
Subject: 12/46: gnu: Add python-notebook-shim.
Date: Tue, 7 May 2024 18:34:00 -0400 (EDT)

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

commit ed4115302fba85e5ad191d10261474654798b164
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 c3f9b23a3b..527fcfc0b8 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -52,6 +52,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]