python3Packages.jupyterlab-git: 0.32.2 -> 0.33.0

+55 -19
+55 -19
pkgs/development/python-modules/jupyterlab-git/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , buildPythonPackage 3 4 , fetchPypi 5 + , git 6 + , jupyter_server 7 + , jupyter-packaging 8 + , jupyterlab 9 + , nbdime 10 + , nbformat 11 + , pexpect 12 + , pytest-asyncio 13 + , pytest-tornasync 14 + , pytestCheckHook 4 15 , pythonOlder 5 - , notebook 6 - , nbdime 7 - , git 8 - , pytest 9 16 }: 10 17 11 18 buildPythonPackage rec { 12 - pname = "jupyterlab_git"; 13 - version = "0.32.2"; 14 - disabled = pythonOlder "3.5"; 19 + pname = "jupyterlab-git"; 20 + version = "0.33.0"; 21 + 22 + disabled = pythonOlder "3.6"; 15 23 16 24 src = fetchPypi { 17 - inherit pname version; 18 - sha256 = "4c5743a05150ed7736e028aac15787a66735f160e9ae198dacc5a4bd1a727ce2"; 25 + pname = "jupyterlab_git"; 26 + inherit version; 27 + sha256 = "0rbl472k66asfq9n9xqd2zpw8z7yrk6ka411vhvlvvszzb7g6w13"; 19 28 }; 20 29 21 - propagatedBuildInputs = [ notebook nbdime git ]; 30 + nativeBuildInputs = [ 31 + jupyter-packaging 32 + ]; 22 33 23 - # all Tests on darwin fail or are skipped due to sandbox 34 + propagatedBuildInputs = [ 35 + jupyter_server 36 + nbdime 37 + git 38 + nbformat 39 + pexpect 40 + ]; 41 + 42 + checkInputs = [ 43 + jupyterlab 44 + pytest-asyncio 45 + pytest-tornasync 46 + pytestCheckHook 47 + ]; 48 + 49 + # All Tests on darwin fail or are skipped due to sandbox 24 50 doCheck = !stdenv.isDarwin; 25 51 26 - checkInputs = [ pytest ]; 52 + disabledTestPaths = [ 53 + "jupyterlab_git/tests/test_handlers.py" 54 + # PyPI doesn't ship all required files for the tests 55 + "jupyterlab_git/tests/test_config.py" 56 + "jupyterlab_git/tests/test_integrations.py" 57 + "jupyterlab_git/tests/test_remote.py" 58 + "jupyterlab_git/tests/test_settings.py" 59 + ]; 27 60 28 - checkPhase = '' 29 - pytest jupyterlab_git/ --ignore=jupyterlab_git/tests/test_handlers.py 30 - ''; 61 + disabledTests = [ 62 + "test_Git_get_nbdiff_file" 63 + "test_Git_get_nbdiff_dict" 64 + ]; 31 65 32 - pythonImportsCheck = [ "jupyterlab_git" ]; 66 + pythonImportsCheck = [ 67 + "jupyterlab_git" 68 + ]; 33 69 34 70 meta = with lib; { 35 - description = "Jupyter lab extension for version control with Git."; 36 - license = with licenses; [ bsd3 ]; 71 + description = "Jupyter lab extension for version control with Git"; 37 72 homepage = "https://github.com/jupyterlab/jupyterlab-git"; 73 + license = with licenses; [ bsd3 ]; 38 74 maintainers = with maintainers; [ chiroptical ]; 39 75 }; 40 76 }