python312Packages.tololib: disable tests on darwin

This commit is contained in:
Fabian Affolter
2024-05-22 11:53:43 +02:00
parent 5c185ec69b
commit 24df8ccd27
@@ -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";