15 buildPythonPackage rec {
16 pname = "pytest-randomly";
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
26 hash = "sha256-bxbW22Nf/0hfJYSiz3xdrNCzrb7vZwuVvSIrWl0Bkv4=";
29 nativeBuildInputs = [ setuptools ];
31 propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
41 # needs special invocation, copied from tox.ini
47 pythonImportsCheck = [ "pytest_randomly" ];
50 changelog = "https://github.com/pytest-dev/pytest-randomly/blob/${version}/CHANGELOG.rst";
51 description = "Pytest plugin to randomly order tests and control random.seed";
52 homepage = "https://github.com/pytest-dev/pytest-randomly";
53 license = licenses.mit;
54 maintainers = with maintainers; [ sternenseemann ];