easyblock = 'PythonBundle'

name = 'jupyter-server-proxy'
version = '4.4.0'

homepage = 'https://github.com/jupyterhub/jupyter-server-proxy'
description = """Jupyter Server Proxy lets you run arbitrary external processes
(such as RStudio, Shiny Server, Syncthing, PostgreSQL, Code Server, etc)
alongside your notebook server and provide authenticated web access to them    
using a path like /rstudio next to others like /lab. Alongside the python
package that provides the main functionality, the JupyterLab extension
(@jupyterlab/server-proxy) provides buttons in the JupyterLab launcher window
to get to RStudio for example."""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

builddependencies = [
    ('binutils', '2.42'),
    ('hatch-jupyter-builder', '0.9.1'),
]
dependencies = [
    ('Python', '3.12.3'),
    ('IPython', '8.28.0'),
    ('jupyter-server', '2.14.2'),
    ('OpenSSL', '3', '', SYSTEM),
    ('aiohttp', '3.10.10'),
]

sanity_pip_check = True
use_pip = True

exts_list = [
    ('simpervisor', '1.0.0', {
        'checksums': ['7eb87ca86d5e276976f5bb0290975a05d452c6a7b7f58062daea7d8369c823c1'],
    }),
    ('jupyter_server_proxy', version, {
        #'checksums': ['6fd8ce88a0100e637b48f1d3aa32f09672bcb2813dc057d70567f0a40b1237f5'],
    }),
]

modextrapaths = {'EB_ENV_JUPYTER_ROOT': ''}

moduleclass = 'tools'
