diff --git a/pkgs/development/python-modules/cbor2/default.nix b/pkgs/development/python-modules/cbor2/default.nix index f793ecfae37..776cc4d38e9 100644 --- a/pkgs/development/python-modules/cbor2/default.nix +++ b/pkgs/development/python-modules/cbor2/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchPypi , pytestCheckHook @@ -22,6 +23,12 @@ buildPythonPackage rec { pytestCheckHook ]; + # https://github.com/agronholm/cbor2/issues/99 + disabledTests = lib.optionals stdenv.is32bit [ + "test_huge_truncated_bytes" + "test_huge_truncated_string" + ]; + pythonImportsCheck = [ "cbor2" ]; meta = with lib; {