Commit 24df8ccd authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.tololib: disable tests on darwin

parent 5c185ec6
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
{ 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";