python312Packages.kombu: remove case dependency
Also return to pytestCheckHook and migrate optional-dependencies out of passthrough.
This commit is contained in:
parent
01bd09bbe4
commit
832e7d33d6
@ -7,7 +7,6 @@
|
||||
backports-zoneinfo,
|
||||
boto3,
|
||||
buildPythonPackage,
|
||||
case,
|
||||
confluent-kafka,
|
||||
fetchPypi,
|
||||
hypothesis,
|
||||
@ -16,7 +15,7 @@
|
||||
pycurl,
|
||||
pymongo,
|
||||
#, pyro4
|
||||
pytest7CheckHook,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
redis,
|
||||
@ -46,7 +45,7 @@ buildPythonPackage rec {
|
||||
++ lib.optionals (pythonOlder "3.10") [ typing-extensions ]
|
||||
++ lib.optionals (pythonOlder "3.9") [ backports-zoneinfo ];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
optional-dependencies = {
|
||||
msgpack = [ msgpack ];
|
||||
yaml = [ pyyaml ];
|
||||
redis = [ redis ];
|
||||
@ -71,10 +70,9 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
case
|
||||
hypothesis
|
||||
pytest7CheckHook
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
pytestCheckHook
|
||||
] ++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [ "kombu" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user