gnu: Add python-comm.

* gnu/packages/jupyter.scm (python-comm): New variable.

Change-Id: I888125238a566b470d4f5f96c5cc178f41a7a4ff
This commit is contained in:
Ricardo Wurmus 2024-05-10 11:40:13 +02:00 committed by Sharlatan Hellseher
parent 737e09e4d2
commit 237cf5c231
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

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