Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pytest-parallel / default.nix
blob0bc2070ce3540648c81509434d7718c57acea140
1 { lib
2 , stdenv
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 # build inputs
7 , tblib
8 , pytest
9 , py
11 let
12   pname = "pytest-parallel";
13   version = "0.1.1";
15 buildPythonPackage {
16   inherit pname version;
17   format = "setuptools";
19   disabled = pythonOlder "3.10";
21   src = fetchFromGitHub {
22     owner = "kevlened";
23     repo = pname;
24     rev = "refs/tags/${version}";
25     hash = "sha256-ddpoWBTf7Zor569p6uOMjHSTx3Qa551f4mSwyTLDdBU=";
26   };
28   propagatedBuildInputs = [
29     tblib
30     pytest
31     py
32   ];
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   };