python3Packages.jupyterlab-git: 0.32.2 -> 0.33.0

+55 -19
+55 -19
pkgs/development/python-modules/jupyterlab-git/default.nix
··· 1 - { lib, stdenv 2 , buildPythonPackage 3 , fetchPypi 4 , pythonOlder 5 - , notebook 6 - , nbdime 7 - , git 8 - , pytest 9 }: 10 11 buildPythonPackage rec { 12 - pname = "jupyterlab_git"; 13 - version = "0.32.2"; 14 - disabled = pythonOlder "3.5"; 15 16 src = fetchPypi { 17 - inherit pname version; 18 - sha256 = "4c5743a05150ed7736e028aac15787a66735f160e9ae198dacc5a4bd1a727ce2"; 19 }; 20 21 - propagatedBuildInputs = [ notebook nbdime git ]; 22 23 - # all Tests on darwin fail or are skipped due to sandbox 24 doCheck = !stdenv.isDarwin; 25 26 - checkInputs = [ pytest ]; 27 28 - checkPhase = '' 29 - pytest jupyterlab_git/ --ignore=jupyterlab_git/tests/test_handlers.py 30 - ''; 31 32 - pythonImportsCheck = [ "jupyterlab_git" ]; 33 34 meta = with lib; { 35 - description = "Jupyter lab extension for version control with Git."; 36 - license = with licenses; [ bsd3 ]; 37 homepage = "https://github.com/jupyterlab/jupyterlab-git"; 38 maintainers = with maintainers; [ chiroptical ]; 39 }; 40 }
··· 1 + { lib 2 + , stdenv 3 , buildPythonPackage 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 15 , pythonOlder 16 }: 17 18 buildPythonPackage rec { 19 + pname = "jupyterlab-git"; 20 + version = "0.33.0"; 21 + 22 + disabled = pythonOlder "3.6"; 23 24 src = fetchPypi { 25 + pname = "jupyterlab_git"; 26 + inherit version; 27 + sha256 = "0rbl472k66asfq9n9xqd2zpw8z7yrk6ka411vhvlvvszzb7g6w13"; 28 }; 29 30 + nativeBuildInputs = [ 31 + jupyter-packaging 32 + ]; 33 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 50 doCheck = !stdenv.isDarwin; 51 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 + ]; 60 61 + disabledTests = [ 62 + "test_Git_get_nbdiff_file" 63 + "test_Git_get_nbdiff_dict" 64 + ]; 65 66 + pythonImportsCheck = [ 67 + "jupyterlab_git" 68 + ]; 69 70 meta = with lib; { 71 + description = "Jupyter lab extension for version control with Git"; 72 homepage = "https://github.com/jupyterlab/jupyterlab-git"; 73 + license = with licenses; [ bsd3 ]; 74 maintainers = with maintainers; [ chiroptical ]; 75 }; 76 }