1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, pytest
6}:
7
8buildPythonPackage rec {
9 version = "1.1.0";
10 pname = "pytest-random-order";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-2+beu5NTp6+YTMnt2+s1d91Nu8wVKaeePSH2jtm0VgU=";
15 };
16
17 disabled = pythonOlder "3.5";
18
19 buildInputs = [ pytest ];
20
21 meta = with lib; {
22 homepage = "https://github.com/jbasko/pytest-random-order";
23 description = "Randomise the order of tests with some control over the randomness";
24 license = licenses.mit;
25 maintainers = [ maintainers.prusnak ];
26 };
27}