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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
{
buildPythonPackage,
ecdsa,
fetchFromGitHub,
freezegun,
hatch-regex-commit,
hatchling,
httpx,
lib,
ms-cv,
platformdirs,
pydantic,
pytest-asyncio,
pytestCheckHook,
respx,
}:
buildPythonPackage rec {
pname = "python-xbox";
version = "0.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "tr4nt0r";
repo = "python-xbox";
tag = "v${version}";
hash = "sha256-YP8iK7uGycwKlWwAUmfk3qXI+c6cddg9nQ4NMQF7wDQ=";
};
build-system = [
hatch-regex-commit
hatchling
];
pythonRelaxDeps = [
"pydantic"
];
dependencies = [
ecdsa
httpx
ms-cv
pydantic
];
optional-dependencies = {
cli = [
platformdirs
];
};
pythonImportsCheck = [ "pythonxbox" ];
nativeCheckInputs = [
freezegun
pytest-asyncio
pytestCheckHook
respx
];
meta = {
changelog = "https://github.com/tr4nt0r/python-xbox/releases/tag/${src.tag}";
description = ":ibrary to authenticate with Xbox Network and use their API";
homepage = "https://github.com/tr4nt0r/python-xbox";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
}
|