mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
python310Packages.pytest-parallel: init at 0.1.1
This commit is contained in:
parent
73e8d61d9d
commit
7e5faf7e4e
41
pkgs/development/python-modules/pytest-parallel/default.nix
Normal file
41
pkgs/development/python-modules/pytest-parallel/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user