python312Packages.hypothesis-auto: add optional-dependencies
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user