blob: 90fea378121339c3f2ae6ed8bad14f6d2058406f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
py,
pytest,
pytest-xdist,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "pytest-random-order";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jbasko";
repo = "pytest-random-order";
tag = "v${version}";
hash = "sha256-c282PrdXxG7WChnkpLWe059OmtTOl1Mn6yWgMRfCjBA=";
};
build-system = [
setuptools
setuptools-scm
];
buildInputs = [ pytest ];
nativeCheckInputs = [
py
pytest-xdist
pytestCheckHook
];
pythonImportsCheck = [ "random_order" ];
meta = {
homepage = "https://github.com/jbasko/pytest-random-order";
description = "Randomise the order of tests with some control over the randomness";
changelog = "https://github.com/jbasko/pytest-random-order/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ prusnak ];
};
}
|