diff --git a/pkgs/development/python-modules/func-timeout/default.nix b/pkgs/development/python-modules/func-timeout/default.nix index 33446197f52d..8b6a09149f30 100644 --- a/pkgs/development/python-modules/func-timeout/default.nix +++ b/pkgs/development/python-modules/func-timeout/default.nix @@ -18,12 +18,21 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + disabledTests = [ + # Calculates the amount of time the machine slept but doesn't account for heavy loads + "test_retry" + "test_funcSetTimeout" + "test_funcSetTimeCalculate" + "test_funcSetTimeCalculateWithOverride" + "test_setFuncTimeoutetry" + ]; + pythonImportsCheck = [ "func_timeout" ]; - meta = with lib; { + meta = { description = "Allows you to specify timeouts when calling any existing function. Also provides support for stoppable-threads"; homepage = "https://github.com/kata198/func_timeout"; - license = licenses.lgpl3Only; + license = lib.licenses.lgpl3Only; maintainers = [ ]; }; }