python312Packages.pytest-shared-session-scope: init at 0.4.0
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
filelock,
|
||||
pytest,
|
||||
typing-extensions,
|
||||
polars,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-shared-session-scope";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "StefanBRas";
|
||||
repo = "pytest-shared-session-scope";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-cG4RUwQwo7RyOQDCP54gGTLhnJtHTo5iQh8MjNRZ4HI=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
filelock
|
||||
pytest
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
polars
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pytest_shared_session_scope" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/StefanBRas/pytest-shared-session-scope/blob/v${version}/CHANGELOG.md";
|
||||
description = "Pytest session-scoped fixture that works with xdist";
|
||||
homepage = "https://pypi.org/project/pytest-shared-session-scope/";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
};
|
||||
}
|
||||
@@ -13627,6 +13627,10 @@ self: super: with self; {
|
||||
|
||||
pytest-services = callPackage ../development/python-modules/pytest-services { };
|
||||
|
||||
pytest-shared-session-scope =
|
||||
callPackage ../development/python-modules/pytest-shared-session-scope
|
||||
{ };
|
||||
|
||||
pytest-shutil = callPackage ../development/python-modules/pytest-shutil { };
|
||||
|
||||
pytest-smtpd = callPackage ../development/python-modules/pytest-smtpd { };
|
||||
|
||||
Reference in New Issue
Block a user