1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5 setuptools,
6 pytest-xdist,
7 pytest-dependency,
8 pytest-mock,
9 pytestCheckHook,
10}:
11
12buildPythonPackage rec {
13 pname = "pytest-order";
14 version = "1.3.0";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "pytest-dev";
19 repo = "pytest-order";
20 tag = "v${version}";
21 hash = "sha256-V1qJGkXn+HhuK5wiwkkJBEbfnv23R4x9Cv0J6ZTj5xE=";
22 };
23
24 build-system = [ setuptools ];
25
26 nativeCheckInputs = [
27 pytestCheckHook
28 pytest-xdist
29 pytest-dependency
30 pytest-mock
31 ];
32
33 strictDeps = true;
34
35 meta = with lib; {
36 description = "Pytest plugin that allows you to customize the order in which your tests are run";
37 homepage = "https://github.com/pytest-dev/pytest-order";
38 license = licenses.mit;
39 maintainers = with maintainers; [
40 jacg
41 Luflosi
42 ];
43 };
44}