f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
41 lines
839 B
Nix
41 lines
839 B
Nix
{
|
|
lib,
|
|
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 = "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 ];
|
|
};
|
|
}
|