gnu: Add python-jupyterlab-pygments.

* gnu/packages/jupyter.scm (python-jupyterlab-pygments): New variable.
This commit is contained in:
Ricardo Wurmus 2021-04-13 08:38:26 +02:00
parent 2043e7bfc8
commit 95456c2fc9
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -184,3 +185,25 @@ Several Jupyter kernels are built upon @code{xeus}, such as @code{xeus-cling},
a kernel for the C++ programming language, and @code{xeus-python}, an
alternative Python kernel for Jupyter.")
(license license:bsd-3)))
(define-public python-jupyterlab-pygments
(package
(name "python-jupyterlab-pygments")
(version "0.1.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "jupyterlab_pygments" version))
(sha256
(base32
"0ij14mmnc39nmf84i0av6j9glazjic7wzv1qyhr0j5966s3s1kfg"))))
(build-system python-build-system)
(arguments '(#:tests? #false)) ; there are no tests
(propagated-inputs
`(("python-pygments" ,python-pygments)))
(home-page "https://jupyter.org")
(synopsis "Pygments theme using JupyterLab CSS variables")
(description
"This package contains a syntax coloring theme for pygments making use of
the JupyterLab CSS variables.")
(license license:bsd-3)))