From 237cf5c231e0c2cc5d2b6a3f5ef96279b9e82002 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 10 May 2024 11:40:13 +0200 Subject: gnu: Add python-comm. * gnu/packages/jupyter.scm (python-comm): New variable. Change-Id: I888125238a566b470d4f5f96c5cc178f41a7a4ff --- gnu/packages/jupyter.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index f86b59489a..01c5f617f9 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -53,6 +53,32 @@ #:use-module (gnu packages serialization) #:use-module (gnu packages version-control)) +(define-public python-comm + (package + (name "python-comm") + (version "0.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ipython/comm") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18xsbpd8dgcfbc51xl59nlwaq7jnyzvgzjfj6psscv71894x4lg7")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-traitlets)) + (native-inputs + (list python-hatchling + python-pytest)) + (home-page "https://github.com/ipython/comm") + (synopsis "Jupyter Python Comm implementation") + (description + "Jupyter Python Comm provides a way to register a Kernel Comm +implementation, as per the Jupyter kernel protocol. It also provides a base +Comm implementation and a default CommManager that can be used.") + (license license:bsd-3))) + (define-public python-nbclassic (package (name "python-nbclassic") -- cgit v1.2.3