Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 76 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ lib, stdenv, buildPythonPackage, fetchPypi, git, jupyter-server, jupyter-packaging, jupyterlab, nbdime, nbformat, pexpect, pytest-asyncio, pytest-tornasync, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "jupyterlab-git"; version = "0.41.0";
disabled = pythonOlder "3.6";
src = fetchPypi { pname = "jupyterlab_git"; inherit version; hash = "sha256-UXZ9qgAvCKfPCzchFOtwbv8vNPEtcLU0dwBGTmiHSD4="; };
nativeBuildInputs = [ jupyter-packaging ];
propagatedBuildInputs = [ jupyter-server nbdime git nbformat pexpect ];
nativeCheckInputs = [ jupyterlab pytest-asyncio pytest-tornasync pytestCheckHook ];
# All Tests on darwin fail or are skipped due to sandbox doCheck = !stdenv.isDarwin;
disabledTestPaths = [ "jupyterlab_git/tests/test_handlers.py" # PyPI doesn't ship all required files for the tests "jupyterlab_git/tests/test_config.py" "jupyterlab_git/tests/test_integrations.py" "jupyterlab_git/tests/test_remote.py" "jupyterlab_git/tests/test_settings.py" ];
disabledTests = [ "test_Git_get_nbdiff_file" "test_Git_get_nbdiff_dict" ];
pythonImportsCheck = [ "jupyterlab_git" ];
meta = with lib; { description = "Jupyter lab extension for version control with Git"; homepage = "https://github.com/jupyterlab/jupyterlab-git"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ chiroptical ]; };}