1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 jupyter-contrib-core, 6 jupyter-core, 7 jupyter-server, 8 notebook, 9 pyyaml, 10 tornado, 11 pytestCheckHook, 12 selenium, 13}: 14 15buildPythonPackage rec { 16 pname = "jupyter-nbextensions-configurator"; 17 version = "0.6.4"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "jupyter-contrib"; 22 repo = "jupyter_nbextensions_configurator"; 23 tag = version; 24 hash = "sha256-U4M6pGV/DdE+DOVMVaoBXOhfRERt+yUa+gADgqRRLn4="; 25 }; 26 27 dependencies = [ 28 jupyter-contrib-core 29 jupyter-core 30 jupyter-server 31 notebook 32 pyyaml 33 tornado 34 ]; 35 36 nativeCheckInputs = [ 37 pytestCheckHook 38 selenium 39 ]; 40 41 # Those tests fails upstream 42 disabledTestPaths = [ 43 "tests/test_application.py" 44 "tests/test_jupyterhub.py" 45 "tests/test_nbextensions_configurator.py" 46 ]; 47 48 pythonImportsCheck = [ "jupyter_nbextensions_configurator" ]; 49 50 meta = { 51 description = "Jupyter notebook serverextension providing config interfaces for nbextensions"; 52 mainProgram = "jupyter-nbextensions_configurator"; 53 homepage = "https://github.com/jupyter-contrib/jupyter_nbextensions_configurator"; 54 changelog = "https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/releases/tag/${version}"; 55 license = lib.licenses.bsd3; 56 maintainers = with lib.maintainers; [ GaetanLepage ]; 57 }; 58}