diff --git a/pkgs/development/python-modules/pyshark/default.nix b/pkgs/development/python-modules/pyshark/default.nix index 272672c2db34..52a0b55aaf8d 100644 --- a/pkgs/development/python-modules/pyshark/default.nix +++ b/pkgs/development/python-modules/pyshark/default.nix @@ -1,14 +1,15 @@ { lib , buildPythonPackage -, fetchpatch +, pythonOlder , fetchFromGitHub +, fetchpatch , appdirs , lxml , packaging , py , pytestCheckHook -, pythonOlder , wireshark-cli +, stdenv }: buildPythonPackage rec { @@ -48,6 +49,12 @@ buildPythonPackage rec { nativeCheckInputs = [ py pytestCheckHook wireshark-cli ]; + disabledTests = lib.optionals stdenv.isDarwin [ + # fails on darwin + # _pickle.PicklingError: logger cannot be pickled + "test_iterate_empty_psml_capture" + ]; + pythonImportsCheck = [ "pyshark" ]; pytestFlagsArray = [ "../tests/" ];