python310Packages.base58: avoid dependency on pytest-benchmark

This commit is contained in:
Sandro Jäckel 2023-05-11 11:25:58 +02:00
parent ec715ab9a1
commit 8d7a557c95
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,9 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, py
, pyhamcrest
, pytest-benchmark
, pytestCheckHook
, pythonOlder
}:
@ -20,12 +18,16 @@ buildPythonPackage rec {
};
nativeCheckInputs = [
py
pyhamcrest
pytest-benchmark
pytestCheckHook
];
disabledTests = [
# avoid dependency on pytest-benchmark
"test_decode_random"
"test_encode_random"
];
pythonImportsCheck = [ "base58" ];
meta = with lib; {