diff --git a/pkgs/development/python-modules/tololib/default.nix b/pkgs/development/python-modules/tololib/default.nix index 6dbc402ff10f..07b7d49d0bec 100644 --- a/pkgs/development/python-modules/tololib/default.nix +++ b/pkgs/development/python-modules/tololib/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchFromGitLab , fetchpatch @@ -33,15 +34,13 @@ buildPythonPackage rec { export PATH="$PATH:$out/bin"; ''; - disabledTests = [ - # Test requires network access - "test_discovery" - ]; - pythonImportsCheck = [ "tololib" ]; + # Network discovery doesn't work in the sandbox for darwin + doCheck = !stdenv.isDarwin; + meta = with lib; { description = "Python Library for Controlling TOLO Sauna/Steam Bath Devices"; homepage = "https://gitlab.com/MatthiasLohr/tololib";