mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #232478 from figsoda/pyshark
python310Packages.pyshark: fix build on darwin
This commit is contained in:
commit
936c7b6a3e
@ -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/" ];
|
||||
|
Loading…
Reference in New Issue
Block a user