python312Packages.hypothesis-auto: add optional-dependencies

This commit is contained in:
Fabian Affolter 2024-10-12 11:39:50 +02:00
parent d9984214d8
commit 76e8a95910

View File

@ -5,6 +5,7 @@
hypothesis,
poetry-core,
pydantic,
pytest,
pytestCheckHook,
pythonOlder,
}:
@ -34,6 +35,10 @@ buildPythonPackage rec {
pydantic
];
optional-dependencies = {
pytest = [ pytest ];
};
pythonImportsCheck = [ "hypothesis_auto" ];
nativeCheckInputs = [ pytestCheckHook ];