Merge pull request #121457 from mweinelt/hass-deps

This commit is contained in:
Martin Weinelt 2021-05-04 01:37:00 +02:00 committed by GitHub
commit fdd7009c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 82 additions and 19 deletions

View File

@ -0,0 +1,60 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, aiohttp
, beautifulsoup4
, httpx
, importlib-metadata
, multidict
, typer
, yarl
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "authcaptureproxy";
version = "1.0.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "alandtse";
repo = "auth_capture_proxy";
rev = "v${version}";
sha256 = "1fbrmh6qa3dm3q3zdxaa0fls94wardbcvnjgwxk686wpjgs1xrs4";
};
postPatch = ''
# https://github.com/alandtse/auth_capture_proxy/issues/14
substituteInPlace pyproject.toml --replace \
"poetry.masonry.api" \
"poetry.core.masonry.api"
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
beautifulsoup4
httpx
importlib-metadata
multidict
typer
yarl
];
checkInputs = [
pytest-asyncio
pytestCheckHook
];
meta = with lib; {
description = "A proxy to capture authentication information from a webpage";
homepage = "https://github.com/alandtse/auth_capture_proxy";
license = licenses.asl20;
maintainers = with maintainers; [ graham33 hexa ];
};
}

View File

@ -14,13 +14,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "bellows"; pname = "bellows";
version = "0.23.1"; version = "0.24.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zigpy"; owner = "zigpy";
repo = "bellows"; repo = "bellows";
rev = version; rev = version;
sha256 = "sha256-c9rKRmGMlYrzVQmUuM9P3c/Jm4QVM2aBRSZ0OkyrPTY="; sha256 = "00sa4x1qzv861z9d83lk4lp1g2pqiv9hpawj92w4qn1wnqxbz6rw";
}; };
prePatch = '' prePatch = ''

View File

@ -11,14 +11,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pysmappee"; pname = "pysmappee";
version = "0.2.24"; version = "0.2.25";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "smappee"; owner = "smappee";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-M1qzwGf8q4WgkEL0nK1yjn3JSBbP7mr75IV45Oa+ypM="; sha256 = "0ld3pb86dq61fcvr6zigdz1vjjcwf7izzkajyg82nmb508a570d7";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -14,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pysonos"; pname = "pysonos";
version = "0.0.43"; version = "0.0.44";
disabled = !isPy3k; disabled = !isPy3k;
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "amelchio"; owner = "amelchio";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-OobKlAymXXvQH6m77Uqn2eoTlWgs8EBxYIDFJ5wwMKA="; sha256 = "108818mkb037zs4ikilrskfppcbmqslsm6zaxmy8pphjh7c299mz";
}; };
propagatedBuildInputs = [ ifaddr requests xmltodict ]; propagatedBuildInputs = [ ifaddr requests xmltodict ];

View File

@ -18,7 +18,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "simplisafe-python"; pname = "simplisafe-python";
version = "9.6.9"; version = "9.6.10";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "bachya"; owner = "bachya";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1q5w5pvrgj94bzd5wig79l4hipkfrcdah54rvwyi7b8q46gw77sg"; sha256 = "0cc5kxxishxhkg1nqmgbh36yxs8yjfynmimzjnaqkqfrs9iq46mr";
}; };
nativeBuildInputs = [ poetry-core ]; nativeBuildInputs = [ poetry-core ];

View File

@ -1,10 +1,12 @@
{ lib { lib
, aiohttp , aiohttp
, authcaptureproxy
, backoff , backoff
, beautifulsoup4 , beautifulsoup4
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch , fetchpatch
, poetry-core
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, wrapt , wrapt
@ -12,24 +14,22 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "teslajsonpy"; pname = "teslajsonpy";
version = "0.11.5"; version = "0.18.3";
format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zabuldon"; owner = "zabuldon";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-s0IZ1UNldYddaR3zJoYS6ey8Kjxd1fr4fOwf0gNNbow="; sha256 = "1hdc5gm6dg1vw6qfs3z6mg2m94scrvjphj0lin6pi8n3zqj1h26k";
}; };
patches = [ nativeBuildInputs = [
(fetchpatch { poetry-core
name = "dont-use-dummpy-module-bs4.patch";
url = "https://github.com/zabuldon/teslajsonpy/pull/138/commits/f5a788e47d8338c8ebb06d954f802ba1ec614db3.patch";
sha256 = "0rws7fhxmca8d5w0bkygx8scvzah3yvb3yfhn05qmp73mn3pmcb3";
})
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
authcaptureproxy
aiohttp aiohttp
backoff backoff
beautifulsoup4 beautifulsoup4

View File

@ -9,14 +9,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "yeelight"; pname = "yeelight";
version = "0.6.1"; version = "0.6.2";
disabled = pythonOlder "3.4"; disabled = pythonOlder "3.4";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "stavros"; owner = "stavros";
repo = "python-yeelight"; repo = "python-yeelight";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-LB7A8E22hyqhVBElrOwtC3IPNkyQkU7ZJ1ScqaXQ6zs="; sha256 = "0v0i0s8d5z6b63f2sy42wf85drdzrzswlm1hknzr7v6lfr52pwwm";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -35,7 +35,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python library for controlling YeeLight RGB bulbs"; description = "Python library for controlling YeeLight RGB bulbs";
homepage = "https://gitlab.com/stavros/python-yeelight/"; homepage = "https://gitlab.com/stavros/python-yeelight/";
license = licenses.asl20; license = licenses.bsd2;
maintainers = with maintainers; [ nyanloutre ]; maintainers = with maintainers; [ nyanloutre ];
}; };
} }

View File

@ -389,6 +389,7 @@ in with py.pkgs; buildPythonApplication rec {
"tasmota" "tasmota"
"tcp" "tcp"
"template" "template"
"tesla"
"threshold" "threshold"
"time_date" "time_date"
"timer" "timer"

View File

@ -605,6 +605,8 @@ in {
auth0-python = callPackage ../development/python-modules/auth0-python { }; auth0-python = callPackage ../development/python-modules/auth0-python { };
authcaptureproxy = callPackage ../development/python-modules/authcaptureproxy { };
authheaders = callPackage ../development/python-modules/authheaders { }; authheaders = callPackage ../development/python-modules/authheaders { };
authlib = callPackage ../development/python-modules/authlib { }; authlib = callPackage ../development/python-modules/authlib { };