{ stdenv , buildPythonPackage , fetchPypi , pythonOlder , notebook , nbdime , git , pytest }: buildPythonPackage rec { pname = "jupyterlab_git"; version = "0.23.1"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; sha256 = "3c709c33df0b838e50f76fa2e7e0302bd3c32ec24e161ee0e8f436a3844e8b16"; }; propagatedBuildInputs = [ notebook nbdime git ]; # all Tests on darwin fail or are skipped due to sandbox doCheck = !stdenv.isDarwin; checkInputs = [ pytest ]; checkPhase = '' pytest jupyterlab_git/ --ignore=jupyterlab_git/tests/test_handlers.py ''; pythonImportsCheck = [ "jupyterlab_git" ]; meta = with stdenv.lib; { description = "Jupyter lab extension for version control with Git."; license = with licenses; [ bsd3 ]; homepage = "https://github.com/jupyterlab/jupyterlab-git"; maintainers = with maintainers; [ chiroptical ]; }; }