python3Packages.xbox-webapi: fix tests, modernize

Changed files
+4 -6
pkgs
development
python-modules
xbox-webapi
+4 -6
pkgs/development/python-modules/xbox-webapi/default.nix
···
httpx,
ms-cv,
pydantic,
-
pytest-asyncio,
+
pytest-asyncio_0,
pytestCheckHook,
respx,
}:
···
version = "2.1.0";
pyproject = true;
-
disabled = pythonOlder "3.8";
-
src = fetchFromGitHub {
owner = "OpenXbox";
repo = "xbox-webapi-python";
···
hash = "sha256-9A3gdSlRjBCx5fBW+jkaSWsFuGieXQKvbEbZzGzLf94=";
};
-
nativeBuildInputs = [ setuptools ];
+
build-system = [ setuptools ];
-
propagatedBuildInputs = [
+
dependencies = [
appdirs
ecdsa
httpx
···
];
nativeCheckInputs = [
-
pytest-asyncio
+
pytest-asyncio_0
pytestCheckHook
respx
];