blob: d8bcb245826e31d6810c08e5174b2241ef69aed5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
filelock,
pytest,
typing-extensions,
polars,
pytest-xdist,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-shared-session-scope";
version = "0.5.2";
pyproject = true;
src = fetchFromGitHub {
owner = "StefanBRas";
repo = "pytest-shared-session-scope";
tag = "v${version}";
hash = "sha256-IPTktwOJhzoC7/gPgMVwbLCkRuhbPf90m23yznqHha4=";
};
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 = [ ];
};
}
|