1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hypothesis, 6 poetry-core, 7 pydantic, 8 pytest, 9 pytestCheckHook, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "hypothesis-auto"; 15 version = "1.1.5"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 pname = "hypothesis_auto"; 22 inherit version; 23 hash = "sha256-U0vcOB9jXmUV5v2IwybVu2arY1FpPnKkP7m2kbD1kRw="; 24 }; 25 26 pythonRelaxDeps = [ 27 "hypothesis" 28 "pydantic" 29 ]; 30 31 build-system = [ poetry-core ]; 32 33 dependencies = [ 34 hypothesis 35 pydantic 36 ]; 37 38 optional-dependencies = { 39 pytest = [ pytest ]; 40 }; 41 42 pythonImportsCheck = [ "hypothesis_auto" ]; 43 44 nativeCheckInputs = [ pytestCheckHook ]; 45 46 meta = with lib; { 47 description = "Enables fully automatic tests for type annotated functions"; 48 homepage = "https://github.com/timothycrosley/hypothesis-auto/"; 49 changelog = "https://github.com/timothycrosley/hypothesis-auto/blob/master/CHANGELOG.md"; 50 license = licenses.mit; 51 maintainers = [ ]; 52 }; 53}