diff --git a/pkgs/development/python-modules/pytest-quickcheck/default.nix b/pkgs/development/python-modules/pytest-quickcheck/default.nix index 16f85581cabf..a5e11c66a71a 100644 --- a/pkgs/development/python-modules/pytest-quickcheck/default.nix +++ b/pkgs/development/python-modules/pytest-quickcheck/default.nix @@ -2,30 +2,33 @@ , buildPythonPackage , fetchPypi , pytest +, pytestCheckHook , pytest-flakes -, tox }: buildPythonPackage rec { pname = "pytest-quickcheck"; version = "0.9.0"; + format = "setuptools"; src = fetchPypi { inherit pname version; hash = "sha256-UFF8ldnaImXU6al4kGjf720mbwXE6Nut9VlvNVrMVoY="; }; - buildInputs = [ pytest ]; + propagatedBuildInputs = [ + pytest + ]; - propagatedBuildInputs = [ pytest-flakes tox ]; + nativeCheckInputs = [ + pytestCheckHook + pytest-flakes + ]; meta = with lib; { license = licenses.asl20; homepage = "https://pypi.python.org/pypi/pytest-quickcheck"; description = "pytest plugin to generate random data inspired by QuickCheck"; maintainers = with maintainers; [ onny ]; - # Pytest support > 6.0 missing - # https://github.com/t2y/pytest-quickcheck/issues/17 - broken = true; }; }