summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2025-08-09 18:18:29 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2025-08-09 19:08:52 +0200
commit02adcf1e59bceb889d93a77fc93387a74e0f0001 (patch)
tree42cfe16b0e916a1bc2c1a0e8e60bd164f8e64442
parentpython3Packages.uasiren: fix tests (diff)
downloadnixpkgs-02adcf1e59bceb889d93a77fc93387a74e0f0001.tar.gz
python3Packages.xbox-webapi: fix tests, modernize
-rw-r--r--pkgs/development/python-modules/xbox-webapi/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/xbox-webapi/default.nix b/pkgs/development/python-modules/xbox-webapi/default.nix
index 07aabe725302..53932099f0dc 100644
--- a/pkgs/development/python-modules/xbox-webapi/default.nix
+++ b/pkgs/development/python-modules/xbox-webapi/default.nix
@@ -9,7 +9,7 @@
httpx,
ms-cv,
pydantic,
- pytest-asyncio,
+ pytest-asyncio_0,
pytestCheckHook,
respx,
}:
@@ -19,8 +19,6 @@ buildPythonPackage rec {
version = "2.1.0";
pyproject = true;
- disabled = pythonOlder "3.8";
-
src = fetchFromGitHub {
owner = "OpenXbox";
repo = "xbox-webapi-python";
@@ -28,9 +26,9 @@ buildPythonPackage rec {
hash = "sha256-9A3gdSlRjBCx5fBW+jkaSWsFuGieXQKvbEbZzGzLf94=";
};
- nativeBuildInputs = [ setuptools ];
+ build-system = [ setuptools ];
- propagatedBuildInputs = [
+ dependencies = [
appdirs
ecdsa
httpx
@@ -39,7 +37,7 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
- pytest-asyncio
+ pytest-asyncio_0
pytestCheckHook
respx
];