python310Packages.pytest-parallel: init at 0.1.1

This commit is contained in:
happysalada 2023-07-08 18:07:51 +08:00 committed by Yt
parent 73e8d61d9d
commit 7e5faf7e4e
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
# build inputs
, tblib
, pytest
, py
}:
let
pname = "pytest-parallel";
version = "0.1.1";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "kevlened";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-ddpoWBTf7Zor569p6uOMjHSTx3Qa551f4mSwyTLDdBU=";
};
propagatedBuildInputs = [
tblib
pytest
py
];
meta = with lib; {
description = "A pytest plugin for parallel and concurrent testing";
homepage = "https://github.com/kevlened/pytest-parallelt";
changelog = "https://github.com/kevlened/pytest-parallel/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ happysalada ];
};
}

View File

@ -9847,6 +9847,8 @@ self: super: with self; {
pytest-param-files = callPackage ../development/python-modules/pytest-param-files { };
pytest-parallel = callPackage ../development/python-modules/pytest-parallel { };
pytest-playwright = callPackage ../development/python-modules/pytest-playwright {};
pytest-plt = callPackage ../development/python-modules/pytest-plt { };