lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.11-pre 69 lines 1.7 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 fetchpatch, 6 jupyter-contrib-core, 7 jupyter-core, 8 jupyter-server, 9 notebook, 10 pyyaml, 11 tornado, 12 nose, 13 pytestCheckHook, 14 selenium, 15}: 16 17buildPythonPackage rec { 18 pname = "jupyter-nbextensions-configurator"; 19 version = "0.6.3"; 20 format = "setuptools"; 21 22 src = fetchFromGitHub { 23 owner = "jupyter-contrib"; 24 repo = "jupyter_nbextensions_configurator"; 25 rev = "refs/tags/${version}"; 26 hash = "sha256-ovKYHATRAC5a5qTMv32ohU2gJd15/fRKXa5HI0zGp/0="; 27 }; 28 29 patches = [ 30 # https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/pull/166 31 (fetchpatch { 32 name = "notebook-v7-compat.patch"; 33 url = "https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/commit/a600cef9222ca0c61a6912eb29d8fa0323409705.patch"; 34 hash = "sha256-Rt9r5ZOgnhBcs18+ET5+k0/t980I2DiVN8oHkGLp0iw="; 35 }) 36 ]; 37 38 propagatedBuildInputs = [ 39 jupyter-contrib-core 40 jupyter-core 41 jupyter-server 42 notebook 43 pyyaml 44 tornado 45 ]; 46 47 nativeCheckInputs = [ 48 nose 49 pytestCheckHook 50 selenium 51 ]; 52 53 # Those tests fails upstream 54 disabledTestPaths = [ 55 "tests/test_application.py" 56 "tests/test_jupyterhub.py" 57 "tests/test_nbextensions_configurator.py" 58 ]; 59 60 pythonImportsCheck = [ "jupyter_nbextensions_configurator" ]; 61 62 meta = with lib; { 63 description = "A jupyter notebook serverextension providing config interfaces for nbextensions"; 64 mainProgram = "jupyter-nbextensions_configurator"; 65 homepage = "https://github.com/jupyter-contrib/jupyter_nbextensions_configurator"; 66 license = licenses.bsd3; 67 maintainers = with maintainers; [ GaetanLepage ]; 68 }; 69}