Commit a7dc576a authored by figsoda's avatar figsoda
Browse files

python310Packages.pyshark: fix build on darwin

parent 4376e41a
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
{ 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/" ];