From 3c72ba6898bc92170bc42de10494c86d5eaf36a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 25 Nov 2020 13:46:37 +0100 Subject: [PATCH] python3Packages.jupyterlab-git: Disable tests on darwin --- pkgs/development/python-modules/jupyterlab-git/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyterlab-git/default.nix b/pkgs/development/python-modules/jupyterlab-git/default.nix index c2304dcf44df..3e218a6b4a32 100644 --- a/pkgs/development/python-modules/jupyterlab-git/default.nix +++ b/pkgs/development/python-modules/jupyterlab-git/default.nix @@ -1,4 +1,4 @@ -{ lib +{ stdenv , buildPythonPackage , fetchPypi , pythonOlder @@ -20,6 +20,9 @@ buildPythonPackage rec { propagatedBuildInputs = [ notebook nbdime git ]; + # all Tests on darwin fail or are skipped due to sandbox + doCheck = !stdenv.isDarwin; + checkInputs = [ pytest ]; checkPhase = '' @@ -28,7 +31,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "jupyterlab_git" ]; - meta = with lib; { + meta = with stdenv.lib; { description = "Jupyter lab extension for version control with Git."; license = with licenses; [ bsd3 ]; homepage = "https://github.com/jupyterlab/jupyterlab-git";