1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, pytest
6}:
7
8buildPythonPackage rec {
9 version = "1.0.4";
10 pname = "pytest-random-order";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "6b2159342a4c8c10855bc4fc6d65ee890fc614cb2b4ff688979b008a82a0ff52";
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}