home-assistant-custom-components.home_connect_alt: init at 1.2.1 (#408816)

authored by Ilan Joselevich and committed by GitHub 6d713fcd 85d1fb67

+171
+50
pkgs/development/python-modules/aiohttp-sse-client/default.nix
···
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + setuptools, 6 + wheel, 7 + aiohttp, 8 + attrs, 9 + multidict, 10 + yarl, 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "aiohttp-sse-client"; 15 + version = "0.2.1"; 16 + pyproject = true; 17 + 18 + src = fetchPypi { 19 + inherit pname version; 20 + hash = "sha256-UATiknFiSvWGFY3HFmywaHp6WZeqtbgI9LU0AOG3Ljs="; 21 + }; 22 + 23 + postPatch = '' 24 + substituteInPlace setup.py \ 25 + --replace-fail "pytest-runner" "" 26 + ''; 27 + 28 + build-system = [ 29 + setuptools 30 + wheel 31 + ]; 32 + 33 + dependencies = [ 34 + aiohttp 35 + attrs 36 + multidict 37 + yarl 38 + ]; 39 + 40 + pythonImportsCheck = [ 41 + "aiohttp_sse_client" 42 + ]; 43 + 44 + meta = { 45 + description = "A Server-Sent Event python client base on aiohttp"; 46 + homepage = "https://pypi.org/project/aiohttp-sse-client/"; 47 + license = lib.licenses.asl20; 48 + maintainers = with lib.maintainers; [ kranzes ]; 49 + }; 50 + }
+48
pkgs/development/python-modules/home-connect-async/default.nix
···
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + setuptools, 6 + wheel, 7 + aiohttp, 8 + aiohttp-sse-client, 9 + charset-normalizer, 10 + dataclasses-json, 11 + oauth2-client, 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "home-connect-async"; 16 + version = "0.8.2"; 17 + pyproject = true; 18 + 19 + src = fetchPypi { 20 + pname = "home_connect_async"; 21 + inherit version; 22 + hash = "sha256-npVMEiwclKr9HR2M03GNkyJULeLEE9BAnIw8Zoy98nQ="; 23 + }; 24 + 25 + build-system = [ 26 + setuptools 27 + wheel 28 + ]; 29 + 30 + dependencies = [ 31 + aiohttp 32 + aiohttp-sse-client 33 + charset-normalizer 34 + dataclasses-json 35 + oauth2-client 36 + ]; 37 + 38 + pythonImportsCheck = [ 39 + "home_connect_async" 40 + ]; 41 + 42 + meta = { 43 + description = "Async SDK for BSH Home Connect API"; 44 + homepage = "https://pypi.org/project/home-connect-async"; 45 + license = lib.licenses.mit; 46 + maintainers = with lib.maintainers; [ kranzes ]; 47 + }; 48 + }
+39
pkgs/development/python-modules/oauth2-client/default.nix
···
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + setuptools, 6 + wheel, 7 + requests, 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "oauth2-client"; 12 + version = "1.4.2"; 13 + pyproject = true; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + hash = "sha256-U4GQBEj/Gudi63xlxQEALqxGu1yi9JR3/f6vnplp8oQ="; 18 + }; 19 + 20 + build-system = [ 21 + setuptools 22 + wheel 23 + ]; 24 + 25 + dependencies = [ 26 + requests 27 + ]; 28 + 29 + pythonImportsCheck = [ 30 + "oauth2_client" 31 + ]; 32 + 33 + meta = { 34 + description = "A client library for OAuth2"; 35 + homepage = "https://pypi.org/project/oauth2-client/"; 36 + license = lib.licenses.asl20; 37 + maintainers = with lib.maintainers; [ kranzes ]; 38 + }; 39 + }
+28
pkgs/servers/home-assistant/custom-components/home_connect_alt/package.nix
···
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildHomeAssistantComponent, 5 + home-connect-async, 6 + }: 7 + 8 + buildHomeAssistantComponent rec { 9 + owner = "ekutner"; 10 + domain = "home_connect_alt"; 11 + version = "1.2.1"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "ekutner"; 15 + repo = "home-connect-hass"; 16 + tag = version; 17 + hash = "sha256-v/C4KV/WddaXQIO709nHP4DJM/K3J3WQSrJnVaXQDSY="; 18 + }; 19 + 20 + dependencies = [ home-connect-async ]; 21 + 22 + meta = with lib; { 23 + description = "Alternative (and improved) Home Connect integration for Home Assistant"; 24 + homepage = "https://github.com/ekutner/home-connect-hass"; 25 + maintainers = with maintainers; [ kranzes ]; 26 + license = licenses.mit; 27 + }; 28 + }
+6
pkgs/top-level/python-packages.nix
··· 317 318 aiohttp-sse = callPackage ../development/python-modules/aiohttp-sse { }; 319 320 aiohttp-sse-client2 = callPackage ../development/python-modules/aiohttp-sse-client2 { }; 321 322 aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { }; ··· 6420 callPackage ../development/python-modules/home-assistant-chip-wheels { } 6421 ); 6422 6423 homeassistant-stubs = callPackage ../servers/home-assistant/stubs.nix { }; 6424 6425 homeconnect = callPackage ../development/python-modules/homeconnect { }; ··· 10210 oasatelematics = callPackage ../development/python-modules/oasatelematics { }; 10211 10212 oath = callPackage ../development/python-modules/oath { }; 10213 10214 oauth2client = callPackage ../development/python-modules/oauth2client { }; 10215
··· 317 318 aiohttp-sse = callPackage ../development/python-modules/aiohttp-sse { }; 319 320 + aiohttp-sse-client = callPackage ../development/python-modules/aiohttp-sse-client { }; 321 + 322 aiohttp-sse-client2 = callPackage ../development/python-modules/aiohttp-sse-client2 { }; 323 324 aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { }; ··· 6422 callPackage ../development/python-modules/home-assistant-chip-wheels { } 6423 ); 6424 6425 + home-connect-async = callPackage ../development/python-modules/home-connect-async { }; 6426 + 6427 homeassistant-stubs = callPackage ../servers/home-assistant/stubs.nix { }; 6428 6429 homeconnect = callPackage ../development/python-modules/homeconnect { }; ··· 10214 oasatelematics = callPackage ../development/python-modules/oasatelematics { }; 10215 10216 oath = callPackage ../development/python-modules/oath { }; 10217 + 10218 + oauth2-client = callPackage ../development/python-modules/oauth2-client { }; 10219 10220 oauth2client = callPackage ../development/python-modules/oauth2client { }; 10221