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