forked from NixOS/nixpkgs
home-assistant-custom-components.home_connect_alt: init at 1.2.1 (#408816)
This commit is contained in:
commit
6d713fcdf2
5 changed files with 171 additions and 0 deletions
|
@ -0,0 +1,50 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchPypi,
|
||||||
|
setuptools,
|
||||||
|
wheel,
|
||||||
|
aiohttp,
|
||||||
|
attrs,
|
||||||
|
multidict,
|
||||||
|
yarl,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "aiohttp-sse-client";
|
||||||
|
version = "0.2.1";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-UATiknFiSvWGFY3HFmywaHp6WZeqtbgI9LU0AOG3Ljs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace-fail "pytest-runner" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
wheel
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
aiohttp
|
||||||
|
attrs
|
||||||
|
multidict
|
||||||
|
yarl
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"aiohttp_sse_client"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A Server-Sent Event python client base on aiohttp";
|
||||||
|
homepage = "https://pypi.org/project/aiohttp-sse-client/";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ kranzes ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,48 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchPypi,
|
||||||
|
setuptools,
|
||||||
|
wheel,
|
||||||
|
aiohttp,
|
||||||
|
aiohttp-sse-client,
|
||||||
|
charset-normalizer,
|
||||||
|
dataclasses-json,
|
||||||
|
oauth2-client,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "home-connect-async";
|
||||||
|
version = "0.8.2";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
pname = "home_connect_async";
|
||||||
|
inherit version;
|
||||||
|
hash = "sha256-npVMEiwclKr9HR2M03GNkyJULeLEE9BAnIw8Zoy98nQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
wheel
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
aiohttp
|
||||||
|
aiohttp-sse-client
|
||||||
|
charset-normalizer
|
||||||
|
dataclasses-json
|
||||||
|
oauth2-client
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"home_connect_async"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Async SDK for BSH Home Connect API";
|
||||||
|
homepage = "https://pypi.org/project/home-connect-async";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ kranzes ];
|
||||||
|
};
|
||||||
|
}
|
39
pkgs/development/python-modules/oauth2-client/default.nix
Normal file
39
pkgs/development/python-modules/oauth2-client/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchPypi,
|
||||||
|
setuptools,
|
||||||
|
wheel,
|
||||||
|
requests,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "oauth2-client";
|
||||||
|
version = "1.4.2";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-U4GQBEj/Gudi63xlxQEALqxGu1yi9JR3/f6vnplp8oQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
wheel
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"oauth2_client"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A client library for OAuth2";
|
||||||
|
homepage = "https://pypi.org/project/oauth2-client/";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ kranzes ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
buildHomeAssistantComponent,
|
||||||
|
home-connect-async,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildHomeAssistantComponent rec {
|
||||||
|
owner = "ekutner";
|
||||||
|
domain = "home_connect_alt";
|
||||||
|
version = "1.2.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ekutner";
|
||||||
|
repo = "home-connect-hass";
|
||||||
|
tag = version;
|
||||||
|
hash = "sha256-v/C4KV/WddaXQIO709nHP4DJM/K3J3WQSrJnVaXQDSY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dependencies = [ home-connect-async ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Alternative (and improved) Home Connect integration for Home Assistant";
|
||||||
|
homepage = "https://github.com/ekutner/home-connect-hass";
|
||||||
|
maintainers = with maintainers; [ kranzes ];
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -317,6 +317,8 @@ self: super: with self; {
|
||||||
|
|
||||||
aiohttp-sse = callPackage ../development/python-modules/aiohttp-sse { };
|
aiohttp-sse = callPackage ../development/python-modules/aiohttp-sse { };
|
||||||
|
|
||||||
|
aiohttp-sse-client = callPackage ../development/python-modules/aiohttp-sse-client { };
|
||||||
|
|
||||||
aiohttp-sse-client2 = callPackage ../development/python-modules/aiohttp-sse-client2 { };
|
aiohttp-sse-client2 = callPackage ../development/python-modules/aiohttp-sse-client2 { };
|
||||||
|
|
||||||
aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { };
|
aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { };
|
||||||
|
@ -6420,6 +6422,8 @@ self: super: with self; {
|
||||||
callPackage ../development/python-modules/home-assistant-chip-wheels { }
|
callPackage ../development/python-modules/home-assistant-chip-wheels { }
|
||||||
);
|
);
|
||||||
|
|
||||||
|
home-connect-async = callPackage ../development/python-modules/home-connect-async { };
|
||||||
|
|
||||||
homeassistant-stubs = callPackage ../servers/home-assistant/stubs.nix { };
|
homeassistant-stubs = callPackage ../servers/home-assistant/stubs.nix { };
|
||||||
|
|
||||||
homeconnect = callPackage ../development/python-modules/homeconnect { };
|
homeconnect = callPackage ../development/python-modules/homeconnect { };
|
||||||
|
@ -10211,6 +10215,8 @@ self: super: with self; {
|
||||||
|
|
||||||
oath = callPackage ../development/python-modules/oath { };
|
oath = callPackage ../development/python-modules/oath { };
|
||||||
|
|
||||||
|
oauth2-client = callPackage ../development/python-modules/oauth2-client { };
|
||||||
|
|
||||||
oauth2client = callPackage ../development/python-modules/oauth2client { };
|
oauth2client = callPackage ../development/python-modules/oauth2client { };
|
||||||
|
|
||||||
oauthenticator = callPackage ../development/python-modules/oauthenticator { };
|
oauthenticator = callPackage ../development/python-modules/oauthenticator { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue