Files
nixpkgs/pkgs/development/python-modules/pytest-shared-session-scope/default.nix
Wolfgang Walther c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00

50 lines
1019 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
filelock,
pytest,
typing-extensions,
polars,
pytest-xdist,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-shared-session-scope";
version = "0.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "StefanBRas";
repo = "pytest-shared-session-scope";
tag = "v${version}";
hash = "sha256-HB8RuF/+BmW3KBZ7C8EpUMuBntvcjSsrkLUiBvPwcf8=";
};
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/${src.tag}/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 = [ ];
};
}