Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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 format = "pyproject"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 pname = "hypothesis_auto"; 22 inherit version; 23 hash = "sha256-U0vcOB9jXmUV5v2IwybVu2arY1FpPnKkP7m2kbD1kRw="; 24 }; 25 26 nativeBuildInputs = [ poetry-core ]; 27 28 propagatedBuildInputs = [ 29 pydantic 30 hypothesis 31 pytest 32 ]; 33 34 pythonImportsCheck = [ "hypothesis_auto" ]; 35 36 nativeCheckInputs = [ pytestCheckHook ]; 37 38 meta = with lib; { 39 description = "Enables fully automatic tests for type annotated functions"; 40 homepage = "https://github.com/timothycrosley/hypothesis-auto/"; 41 license = licenses.mit; 42 maintainers = [ ]; 43 }; 44}