1{
2 lib,
3 stdenv,
4 buildPythonPackage,
5 fetchFromGitHub,
6 pythonOlder,
7 # build inputs
8 tblib,
9 pytest,
10 py,
11}:
12let
13 pname = "pytest-parallel";
14 version = "0.1.1";
15in
16buildPythonPackage {
17 inherit pname version;
18 format = "setuptools";
19
20 disabled = pythonOlder "3.10";
21
22 src = fetchFromGitHub {
23 owner = "kevlened";
24 repo = pname;
25 rev = "refs/tags/${version}";
26 hash = "sha256-ddpoWBTf7Zor569p6uOMjHSTx3Qa551f4mSwyTLDdBU=";
27 };
28
29 propagatedBuildInputs = [
30 tblib
31 pytest
32 py
33 ];
34
35 meta = with lib; {
36 description = "A pytest plugin for parallel and concurrent testing";
37 homepage = "https://github.com/kevlened/pytest-parallelt";
38 changelog = "https://github.com/kevlened/pytest-parallel/releases/tag/${version}";
39 license = licenses.mit;
40 maintainers = with maintainers; [ happysalada ];
41 };
42}