>From a4535f6002a618444171d5a92146fb7a7e7e8243 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 7 Feb 2020 08:40:41 +0100 Subject: [PATCH 3/5] gnu: Add package python-jupyterlab-server * gnu/packages/python-xyz.scm (python-jupyterlab-server): New variable. --- gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ad1cd5fbd4..92ee53fe6f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17622,3 +17622,37 @@ sequences.") usable as a configuration language. This Python package implements parsing and dumping of JSON5 data structures.") (license license:asl2.0))) + +(define-public python-jupyterlab-server + (package + (name "python-jupyterlab-server") + (version "1.0.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jupyterlab_server" version)) + (sha256 + (base32 + "1bax8iqwcc5p02h5ysdc48zvx7ll5jfzfsybhb3lfvyfpwkpb5yh")))) + (build-system python-build-system) + (propagated-inputs + `(("python-jinja2" ,python-jinja2) + ("python-json5" ,python-json5) + ("python-jsonschema" ,python-jsonschema) + ("python-notebook" ,python-notebook))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-requests" ,python-requests) + ("python-ipykernel" ,python-ipykernel))) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; python setup.py test does not invoke pytest? + (replace 'check + (lambda _ + (invoke "pytest" "-vv")))))) + (home-page "https://jupyter.org") + (synopsis "JupyterLab Server") + (description "A set of server components for JupyterLab and JupyterLab like +applications") + (license license:bsd-3))) -- 2.20.1