about summary refs log tree commit diff
path: root/pkgs/development/python-modules/jupyterlab-git
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2020-11-25 13:46:37 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-25 08:47:52 -0800
commit3c72ba6898bc92170bc42de10494c86d5eaf36a2 (patch)
tree958f0b9e4464902829e73041b1aeafc2f770d549 /pkgs/development/python-modules/jupyterlab-git
parent7afd50501b66f2faa4f884adbffff55da5f95ff8 (diff)
python3Packages.jupyterlab-git: Disable tests on darwin
Diffstat (limited to 'pkgs/development/python-modules/jupyterlab-git')
-rw-r--r--pkgs/development/python-modules/jupyterlab-git/default.nix7
1 files 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 c2304dcf44df9..3e218a6b4a326 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";