gnu: Add python-jupyter-client-bootstrap.

* gnu/packages/python-xyz.scm (python-jupyter-client-bootstrap): New
variable.
This commit is contained in:
Lars-Dominik Braun 2021-04-20 09:49:32 +02:00
parent 7f06ab7fc0
commit a0e98da14f
No known key found for this signature in database
GPG key ID: F663943E08D8092A

View file

@ -7469,6 +7469,20 @@ (define-public python-jupyter-client
installing @code{kernelspec}s for use with Jupyter frontends.")
(license license:bsd-3)))
;; Bootstrap variant of jupyter-client, which breaks the loop between ipykernel
;; and jupyter-client by removing the former from its native-inputs and
;; disabling tests.
(define-public python-jupyter-client-bootstrap
(let ((base python-jupyter-client))
(hidden-package
(package
(inherit base)
(name "python-jupyter-client-bootstrap")
(arguments
`(#:tests? #f
,@(package-arguments base)))
(native-inputs `())))))
(define-public python2-jupyter-client
(package-with-python2 python-jupyter-client))