evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / xbox-webapi / default.nix
blob931d0be5748c720ba73c7cad0b53058d8a415081
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   setuptools,
7   appdirs,
8   ecdsa,
9   httpx,
10   ms-cv,
11   pydantic,
12   pytest-asyncio,
13   pytestCheckHook,
14   respx,
17 buildPythonPackage rec {
18   pname = "xbox-webapi";
19   version = "2.1.0";
20   pyproject = true;
22   disabled = pythonOlder "3.8";
24   src = fetchFromGitHub {
25     owner = "OpenXbox";
26     repo = "xbox-webapi-python";
27     rev = "v${version}";
28     hash = "sha256-9A3gdSlRjBCx5fBW+jkaSWsFuGieXQKvbEbZzGzLf94=";
29   };
31   nativeBuildInputs = [ setuptools ];
33   propagatedBuildInputs = [
34     appdirs
35     ecdsa
36     httpx
37     ms-cv
38     pydantic
39   ];
41   nativeCheckInputs = [
42     pytest-asyncio
43     pytestCheckHook
44     respx
45   ];
47   meta = with lib; {
48     changelog = "https://github.com/OpenXbox/xbox-webapi-python/blob/${src.rev}/CHANGELOG.md";
49     description = "Library to authenticate with Windows Live/Xbox Live and use their API";
50     homepage = "https://github.com/OpenXbox/xbox-webapi-python";
51     license = licenses.mit;
52     maintainers = with maintainers; [ dotlambda ];
53   };