blob: 13a3d9d1ecfb5277f48a645cc33d17c8ba6f6045 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "xboxapi";
version = "2.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "mKeRix";
repo = "xboxapi-python";
tag = version;
hash = "sha256-rX3lrXzUYqyRyI89fbCEEMevTdi5SBgSp8XxSanasII=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "xboxapi" ];
meta = {
description = "Python XBOX One API wrapper";
homepage = "https://github.com/mKeRix/xboxapi-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|