Merge pull request #171570 from mweinelt/home-assistant
This commit is contained in:
commit
45a1d1c8d9
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aioairzone";
|
pname = "aioairzone";
|
||||||
version = "0.3.4";
|
version = "0.4.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||||
owner = "Noltari";
|
owner = "Noltari";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-ENdgaG30Fll5HQOTcghkmqOAiMYEY1aHRIel4Bd25Pk=";
|
hash = "sha256-SPxSIcsDjsT7dZQs1CoU7DstQTxYN1c0qAB+XQjVXlo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aioslimproto";
|
pname = "aioslimproto";
|
||||||
version = "2.0.0";
|
version = "2.0.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
@ -16,13 +16,18 @@ buildPythonPackage rec {
|
||||||
owner = "home-assistant-libs";
|
owner = "home-assistant-libs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-7xFbxWay2aPCBkf3pBUGshROtssbi//PxxsI8ELeS+c=";
|
hash = "sha256-xa0LZGq0di4lnJGVMbb1Un0Ebd4vXRlbkxbatJ9GwB0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# AssertionError: assert ['mixer', 'volume', '50'] == ['volume', '50']
|
||||||
|
"test_msg_instantiation"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"aioslimproto"
|
"aioslimproto"
|
||||||
];
|
];
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "androidtv";
|
pname = "androidtv";
|
||||||
version = "0.0.66";
|
version = "0.0.67";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||||
owner = "JeffLIrion";
|
owner = "JeffLIrion";
|
||||||
repo = "python-androidtv";
|
repo = "python-androidtv";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-gSbckVjM49nVfzpk9sfynJDx15+zQ/KgaI7oxEkXQpo=";
|
hash = "sha256-MAlKD2PDQJQaKPiMQDu1CMvn4xnxb8FmeYqzcW4hso0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "async-upnp-client";
|
pname = "async-upnp-client";
|
||||||
version = "0.28.0";
|
version = "0.29.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||||
owner = "StevenLooman";
|
owner = "StevenLooman";
|
||||||
repo = "async_upnp_client";
|
repo = "async_upnp_client";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-ZyYIZLIlLQV3Yj4a+M5vZVaTe9lEsrWhBe/g9wzM1TY=";
|
sha256 = "sha256-IzT48ABfk/v8VZJRJEMU/Rsi6mJG4IvtF7HNRv6TLeA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
46
pkgs/development/python-modules/gcal-sync/default.nix
Normal file
46
pkgs/development/python-modules/gcal-sync/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
, fetchFromGitHub
|
||||||
|
, aiohttp
|
||||||
|
, pydantic
|
||||||
|
, freezegun
|
||||||
|
, pytest-aiohttp
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "gcal-sync";
|
||||||
|
version = "0.7.1";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "allenporter";
|
||||||
|
repo = "gcal_sync";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-NOB74P+5i63FEeHJsPXRdRgY6iyIUEn7BogbVKm8P5M=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
pydantic
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
freezegun
|
||||||
|
pytest-aiohttp
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "gcal_sync" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Python library for syncing Google Calendar to local storage";
|
||||||
|
homepage = "https://github.com/allenporter/gcal_sync";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ dotlambda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "insteon-frontend-home-assistant";
|
||||||
|
version = "0.1.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "70ee413cae8717416f5add1be7647158d8ff4303942dafccac0792ef44336cdf";
|
||||||
|
};
|
||||||
|
|
||||||
|
# upstream has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "insteon_frontend" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "The Insteon frontend for Home Assistant";
|
||||||
|
homepage = "https://github.com/teharris1/insteon-panel";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ dotlambda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pychromecast";
|
pname = "pychromecast";
|
||||||
version = "11.0.0";
|
version = "12.0.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "PyChromecast";
|
pname = "PyChromecast";
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "sha256-FRcjsXgRAFK2c7h2WhIMhdFurowi11V13O6+K+HrHvY=";
|
sha256 = "sha256-asvEJix8/3glVhenll/rlTwSZdX0LRPMX4uCSURohJ4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, aioresponses
|
, aioresponses
|
||||||
|
, async-timeout
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytest-aiohttp
|
, pytest-aiohttp
|
||||||
|
@ -10,20 +11,21 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pydeconz";
|
pname = "pydeconz";
|
||||||
version = "87";
|
version = "91";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Kane610";
|
owner = "Kane610";
|
||||||
repo = "deconz";
|
repo = "deconz";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-scNTHbUL8TOhkUJyib4cgL8A4gZ73asmFLi8aGw3sX8=";
|
hash = "sha256-JoQapWQZPjP9TD6gnIGE23hzBt22kAWDKreTzq3GBWQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
|
async-timeout
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyevilgenius";
|
pname = "pyevilgenius";
|
||||||
version = "1.0.0";
|
version = "2.0.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||||
owner = "home-assistant-libs";
|
owner = "home-assistant-libs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "06xnl93sqklg7gx0z50vm79xwww0yyw05c1yynajc9aijfi8cmi3";
|
sha256 = "sha256-wjC32oq/lW3Z4XB+4SILRKIOuCgBKk1gruOo4uc/4/o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyinsteon";
|
pname = "pyinsteon";
|
||||||
version = "1.0.16";
|
version = "1.1.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
@ -24,8 +24,8 @@ buildPythonPackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-V0niLQAplN/uZ0YeN6g8uax3U/d0LUT4aXxe3ENXIHc=";
|
hash = "sha256-YoDCvYpbw06MXx371SNarrtQ0t4xlhwm1CBbl524P7c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -13,14 +13,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pynws";
|
pname = "pynws";
|
||||||
version = "1.3.2";
|
version = "1.4.1";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "MatthewFlamm";
|
owner = "MatthewFlamm";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0d2x3vlm444aar4wbdg48xzpgwng5m7i2d7h1z0pb6c514747sd1";
|
sha256 = "sha256-hAUD92wlQZ0BZ++e/KdIOgTzavmUkrH3esDhI3mbl5Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -3,19 +3,20 @@
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, aiohttp
|
, aiohttp
|
||||||
|
, pytest-aiohttp
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytomorrowio";
|
pname = "pytomorrowio";
|
||||||
version = "0.2.1";
|
version = "0.3.3";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "aabb41436fb5834b687d73b334d95be07a18d5943d27a1fd06271b749558ba0e";
|
sha256 = "0d4f81dc90aefa26da18b927473cb7b08b093f7732301983ef5f0b1ca1181c62";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -23,6 +24,7 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
pytest-aiohttp
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
, aresponses
|
, aresponses
|
||||||
, asynctest
|
, asynctest
|
||||||
, backoff
|
, backoff
|
||||||
|
, beautifulsoup4
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, docutils
|
, docutils
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
@ -19,7 +20,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "simplisafe-python";
|
pname = "simplisafe-python";
|
||||||
version = "2022.03.3";
|
version = "2022.05.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -28,7 +29,7 @@ buildPythonPackage rec {
|
||||||
owner = "bachya";
|
owner = "bachya";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-19+p39uZO9pSDzH6YkS9ZDVA4zyl9oJ325yTQ5+SQcw=";
|
sha256 = "sha256-NXEhjj8L7MPAdQwjqe6u+L9vi/mIIA8TxDpM5q4uUrU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -38,6 +39,7 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
backoff
|
backoff
|
||||||
|
beautifulsoup4
|
||||||
docutils
|
docutils
|
||||||
pytz
|
pytz
|
||||||
voluptuous
|
voluptuous
|
||||||
|
@ -62,6 +64,8 @@ buildPythonPackage rec {
|
||||||
# simplipy/api.py:253: InvalidCredentialsError
|
# simplipy/api.py:253: InvalidCredentialsError
|
||||||
"test_request_error_failed_retry"
|
"test_request_error_failed_retry"
|
||||||
"test_update_error"
|
"test_update_error"
|
||||||
|
# ClientConnectorError: Cannot connect to host auth.simplisafe.com:443 ssl:default [Temporary failure in name resolution]
|
||||||
|
"test_client_async_from_refresh_token_unknown_error"
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "total-connect-client";
|
pname = "total-connect-client";
|
||||||
version = "2022.2.1";
|
version = "2022.3";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||||
owner = "craigjmidwinter";
|
owner = "craigjmidwinter";
|
||||||
repo = "total-connect-client";
|
repo = "total-connect-client";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-1/uqOxaJqrT+E+0ikNZX9AfIRRbpBSjh2nINrqGWxbY=";
|
hash = "sha256-KfJFU85yQmBZn4f0ljnaiy/DjHMOuNi+Q7nb8yCpKVk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -1,27 +1,31 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, nose
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "voluptuous";
|
pname = "voluptuous";
|
||||||
version = "0.13.0";
|
version = "0.13.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "alecthomas";
|
||||||
sha256 = "sha256-yuakUmtDS2QoFrNKAOEYbVpfXgyUirlNKpGOAeWHQGY=";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-cz3Bd+/yPh+VOHxzi/W+gbDh/H5Nl/n4jvxDOirmAVk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
nose
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
pythonImportsCheck = [
|
||||||
nosetests
|
"voluptuous"
|
||||||
'';
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "voluptuous" ];
|
pytestFlagsArray = [
|
||||||
|
"voluptuous/tests/"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python data validation library";
|
description = "Python data validation library";
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
, asynctest
|
, asynctest
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, crccheck
|
, crccheck
|
||||||
|
, cryptography
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pycryptodome
|
, pycryptodome
|
||||||
, pytest-aiohttp
|
, pytest-aiohttp
|
||||||
|
@ -15,7 +16,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zigpy";
|
pname = "zigpy";
|
||||||
version = "0.44.2";
|
version = "0.45.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -24,13 +25,14 @@ buildPythonPackage rec {
|
||||||
owner = "zigpy";
|
owner = "zigpy";
|
||||||
repo = "zigpy";
|
repo = "zigpy";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-E6SeuVu5UdWL5Tx39UQymNhABltR+qVHANYWuCh+h6I=";
|
sha256 = "sha256-85Bi8qjbUKLXFW7VGOxzelMa1gY9giGeQRmOeoZ1idE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
aiosqlite
|
aiosqlite
|
||||||
crccheck
|
crccheck
|
||||||
|
cryptography
|
||||||
pycryptodome
|
pycryptodome
|
||||||
voluptuous
|
voluptuous
|
||||||
];
|
];
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zwave-js-server-python";
|
pname = "zwave-js-server-python";
|
||||||
version = "0.35.3";
|
version = "0.36.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||||
owner = "home-assistant-libs";
|
owner = "home-assistant-libs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-vM5GEqq32VdC5UjGVlnrN8/LRcCHHkJFzEbaA2Snte8=";
|
sha256 = "sha256-XVFOx0f5lBh5i7q8XEb4qd0Lu09jEEYKyJUJBqXwirc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Do not edit!
|
# Do not edit!
|
||||||
|
|
||||||
{
|
{
|
||||||
version = "2022.4.7";
|
version = "2022.5.0";
|
||||||
components = {
|
components = {
|
||||||
"abode" = ps: with ps; [
|
"abode" = ps: with ps; [
|
||||||
abodepy
|
abodepy
|
||||||
|
@ -157,10 +157,6 @@
|
||||||
];
|
];
|
||||||
"arest" = ps: with ps; [
|
"arest" = ps: with ps; [
|
||||||
];
|
];
|
||||||
"arlo" = ps: with ps; [
|
|
||||||
ha-ffmpeg
|
|
||||||
pyarlo
|
|
||||||
];
|
|
||||||
"arris_tg2492lg" = ps: with ps; [
|
"arris_tg2492lg" = ps: with ps; [
|
||||||
arris-tg2492lg
|
arris-tg2492lg
|
||||||
];
|
];
|
||||||
|
@ -554,8 +550,6 @@
|
||||||
"digital_ocean" = ps: with ps; [
|
"digital_ocean" = ps: with ps; [
|
||||||
digital-ocean
|
digital-ocean
|
||||||
];
|
];
|
||||||
"digitalloggers" = ps: with ps; [
|
|
||||||
]; # missing inputs: dlipower
|
|
||||||
"directv" = ps: with ps; [
|
"directv" = ps: with ps; [
|
||||||
directv
|
directv
|
||||||
];
|
];
|
||||||
|
@ -993,8 +987,7 @@
|
||||||
];
|
];
|
||||||
"google" = ps: with ps; [
|
"google" = ps: with ps; [
|
||||||
aiohttp-cors
|
aiohttp-cors
|
||||||
google-api-python-client
|
gcal-sync
|
||||||
httplib2
|
|
||||||
oauth2client
|
oauth2client
|
||||||
];
|
];
|
||||||
"google_assistant" = ps: with ps; [
|
"google_assistant" = ps: with ps; [
|
||||||
|
@ -1248,9 +1241,15 @@
|
||||||
];
|
];
|
||||||
"insteon" = ps: with ps; [
|
"insteon" = ps: with ps; [
|
||||||
aiohttp-cors
|
aiohttp-cors
|
||||||
|
fnvhash
|
||||||
|
home-assistant-frontend
|
||||||
|
insteon-frontend-home-assistant
|
||||||
|
lru-dict
|
||||||
|
pillow
|
||||||
pyinsteon
|
pyinsteon
|
||||||
pyserial
|
pyserial
|
||||||
pyudev
|
pyudev
|
||||||
|
sqlalchemy
|
||||||
];
|
];
|
||||||
"integration" = ps: with ps; [
|
"integration" = ps: with ps; [
|
||||||
];
|
];
|
||||||
|
@ -1391,8 +1390,10 @@
|
||||||
life360
|
life360
|
||||||
];
|
];
|
||||||
"lifx" = ps: with ps; [
|
"lifx" = ps: with ps; [
|
||||||
|
aiohttp-cors
|
||||||
aiolifx
|
aiolifx
|
||||||
aiolifx-effects
|
aiolifx-effects
|
||||||
|
ifaddr
|
||||||
];
|
];
|
||||||
"lifx_cloud" = ps: with ps; [
|
"lifx_cloud" = ps: with ps; [
|
||||||
];
|
];
|
||||||
|
@ -1514,6 +1515,8 @@
|
||||||
"mazda" = ps: with ps; [
|
"mazda" = ps: with ps; [
|
||||||
pymazda
|
pymazda
|
||||||
];
|
];
|
||||||
|
"meater" = ps: with ps; [
|
||||||
|
]; # missing inputs: meater-python
|
||||||
"media_extractor" = ps: with ps; [
|
"media_extractor" = ps: with ps; [
|
||||||
aiohttp-cors
|
aiohttp-cors
|
||||||
youtube-dl-light
|
youtube-dl-light
|
||||||
|
@ -2088,6 +2091,9 @@
|
||||||
];
|
];
|
||||||
"qnap" = ps: with ps; [
|
"qnap" = ps: with ps; [
|
||||||
]; # missing inputs: qnapstats
|
]; # missing inputs: qnapstats
|
||||||
|
"qnap_qsw" = ps: with ps; [
|
||||||
|
aioqsw
|
||||||
|
];
|
||||||
"qrcode" = ps: with ps; [
|
"qrcode" = ps: with ps; [
|
||||||
pillow
|
pillow
|
||||||
pyzbar
|
pyzbar
|
||||||
|
@ -2309,6 +2315,10 @@
|
||||||
"sentry" = ps: with ps; [
|
"sentry" = ps: with ps; [
|
||||||
sentry-sdk
|
sentry-sdk
|
||||||
];
|
];
|
||||||
|
"senz" = ps: with ps; [
|
||||||
|
aiohttp-cors
|
||||||
|
aiosenz
|
||||||
|
];
|
||||||
"serial" = ps: with ps; [
|
"serial" = ps: with ps; [
|
||||||
pyserial-asyncio
|
pyserial-asyncio
|
||||||
];
|
];
|
||||||
|
@ -2382,6 +2392,10 @@
|
||||||
];
|
];
|
||||||
"slide" = ps: with ps; [
|
"slide" = ps: with ps; [
|
||||||
]; # missing inputs: goslide-api
|
]; # missing inputs: goslide-api
|
||||||
|
"slimproto" = ps: with ps; [
|
||||||
|
aiohttp-cors
|
||||||
|
aioslimproto
|
||||||
|
];
|
||||||
"sma" = ps: with ps; [
|
"sma" = ps: with ps; [
|
||||||
pysma
|
pysma
|
||||||
];
|
];
|
||||||
|
@ -2420,7 +2434,7 @@
|
||||||
paho-mqtt
|
paho-mqtt
|
||||||
];
|
];
|
||||||
"snmp" = ps: with ps; [
|
"snmp" = ps: with ps; [
|
||||||
pysnmp
|
pysnmplib
|
||||||
];
|
];
|
||||||
"solaredge" = ps: with ps; [
|
"solaredge" = ps: with ps; [
|
||||||
solaredge
|
solaredge
|
||||||
|
@ -2747,6 +2761,9 @@
|
||||||
pytradfri
|
pytradfri
|
||||||
]
|
]
|
||||||
++ pytradfri.extras-require.async;
|
++ pytradfri.extras-require.async;
|
||||||
|
"trafikverket_ferry" = ps: with ps; [
|
||||||
|
pytrafikverket
|
||||||
|
];
|
||||||
"trafikverket_train" = ps: with ps; [
|
"trafikverket_train" = ps: with ps; [
|
||||||
pytrafikverket
|
pytrafikverket
|
||||||
];
|
];
|
||||||
|
@ -2828,11 +2845,10 @@
|
||||||
];
|
];
|
||||||
"update" = ps: with ps; [
|
"update" = ps: with ps; [
|
||||||
];
|
];
|
||||||
"updater" = ps: with ps; [
|
|
||||||
];
|
|
||||||
"upnp" = ps: with ps; [
|
"upnp" = ps: with ps; [
|
||||||
aiohttp-cors
|
aiohttp-cors
|
||||||
async-upnp-client
|
async-upnp-client
|
||||||
|
getmac
|
||||||
ifaddr
|
ifaddr
|
||||||
zeroconf
|
zeroconf
|
||||||
];
|
];
|
||||||
|
@ -3168,7 +3184,6 @@
|
||||||
"apprise"
|
"apprise"
|
||||||
"aprs"
|
"aprs"
|
||||||
"arcam_fmj"
|
"arcam_fmj"
|
||||||
"arlo"
|
|
||||||
"aseko_pool_live"
|
"aseko_pool_live"
|
||||||
"asuswrt"
|
"asuswrt"
|
||||||
"atag"
|
"atag"
|
||||||
|
@ -3540,6 +3555,7 @@
|
||||||
"pvpc_hourly_pricing"
|
"pvpc_hourly_pricing"
|
||||||
"python_script"
|
"python_script"
|
||||||
"qld_bushfire"
|
"qld_bushfire"
|
||||||
|
"qnap_qsw"
|
||||||
"rachio"
|
"rachio"
|
||||||
"radarr"
|
"radarr"
|
||||||
"radio_browser"
|
"radio_browser"
|
||||||
|
@ -3582,6 +3598,7 @@
|
||||||
"sensibo"
|
"sensibo"
|
||||||
"sensor"
|
"sensor"
|
||||||
"sentry"
|
"sentry"
|
||||||
|
"senz"
|
||||||
"seventeentrack"
|
"seventeentrack"
|
||||||
"shell_command"
|
"shell_command"
|
||||||
"shelly"
|
"shelly"
|
||||||
|
@ -3595,6 +3612,7 @@
|
||||||
"siren"
|
"siren"
|
||||||
"slack"
|
"slack"
|
||||||
"sleepiq"
|
"sleepiq"
|
||||||
|
"slimproto"
|
||||||
"sma"
|
"sma"
|
||||||
"smappee"
|
"smappee"
|
||||||
"smart_meter_texas"
|
"smart_meter_texas"
|
||||||
|
@ -3648,6 +3666,7 @@
|
||||||
"tailscale"
|
"tailscale"
|
||||||
"tankerkoenig"
|
"tankerkoenig"
|
||||||
"tasmota"
|
"tasmota"
|
||||||
|
"tautulli"
|
||||||
"tcp"
|
"tcp"
|
||||||
"telegram"
|
"telegram"
|
||||||
"telegram_bot"
|
"telegram_bot"
|
||||||
|
@ -3671,6 +3690,7 @@
|
||||||
"trace"
|
"trace"
|
||||||
"tractive"
|
"tractive"
|
||||||
"tradfri"
|
"tradfri"
|
||||||
|
"trafikverket_ferry"
|
||||||
"trafikverket_train"
|
"trafikverket_train"
|
||||||
"trafikverket_weatherstation"
|
"trafikverket_weatherstation"
|
||||||
"transmission"
|
"transmission"
|
||||||
|
@ -3689,7 +3709,6 @@
|
||||||
"upb"
|
"upb"
|
||||||
"upcloud"
|
"upcloud"
|
||||||
"update"
|
"update"
|
||||||
"updater"
|
|
||||||
"upnp"
|
"upnp"
|
||||||
"uptime"
|
"uptime"
|
||||||
"uptimerobot"
|
"uptimerobot"
|
||||||
|
|
|
@ -30,7 +30,6 @@ let
|
||||||
defaultOverrides = [
|
defaultOverrides = [
|
||||||
# Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
|
# Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
|
||||||
(mkOverride "python-slugify" "4.0.1" "sha256-aaUXdm4AwSaOW7/A0BCgqFCN4LGNMK1aH/NX+K5yQnA=")
|
(mkOverride "python-slugify" "4.0.1" "sha256-aaUXdm4AwSaOW7/A0BCgqFCN4LGNMK1aH/NX+K5yQnA=")
|
||||||
(mkOverride "voluptuous" "0.12.2" "sha256-TbGsUHnbkkmCDUnIkctGYKb4yuNQSRIQq850H6v1ZRM=")
|
|
||||||
|
|
||||||
# pytest-aiohttp>0.3.0 breaks home-assistant tests
|
# pytest-aiohttp>0.3.0 breaks home-assistant tests
|
||||||
(self: super: {
|
(self: super: {
|
||||||
|
@ -47,9 +46,21 @@ let
|
||||||
aiohomekit = super.aiohomekit.overridePythonAttrs (oldAttrs: {
|
aiohomekit = super.aiohomekit.overridePythonAttrs (oldAttrs: {
|
||||||
doCheck = false; # requires aiohttp>=1.0.0
|
doCheck = false; # requires aiohttp>=1.0.0
|
||||||
});
|
});
|
||||||
|
gcal-sync = super.gcal-sync.overridePythonAttrs (oldAttrs: {
|
||||||
|
doCheck = false; # requires aiohttp>=1.0.0
|
||||||
|
});
|
||||||
hass-nabucasa = super.hass-nabucasa.overridePythonAttrs (oldAttrs: {
|
hass-nabucasa = super.hass-nabucasa.overridePythonAttrs (oldAttrs: {
|
||||||
doCheck = false; # requires aiohttp>=1.0.0
|
doCheck = false; # requires aiohttp>=1.0.0
|
||||||
});
|
});
|
||||||
|
pydeconz = super.pydeconz.overridePythonAttrs (oldAttrs: {
|
||||||
|
doCheck = false; # requires pytest-aiohttp>=1.0.0
|
||||||
|
});
|
||||||
|
pynws = super.pynws.overridePythonAttrs (oldAttrs: {
|
||||||
|
doCheck = false; # requires pytest-aiohttp>=1.0.0
|
||||||
|
});
|
||||||
|
pytomorrowio = super.pytomorrowio.overridePythonAttrs (oldAttrs: {
|
||||||
|
doCheck = false; # requires pytest-aiohttp>=1.0.0
|
||||||
|
});
|
||||||
rtsp-to-webrtc = super.rtsp-to-webrtc.overridePythonAttrs (oldAttrs: {
|
rtsp-to-webrtc = super.rtsp-to-webrtc.overridePythonAttrs (oldAttrs: {
|
||||||
doCheck = false; # requires pytest-aiohttp>=1.0.0
|
doCheck = false; # requires pytest-aiohttp>=1.0.0
|
||||||
});
|
});
|
||||||
|
@ -110,7 +121,7 @@ let
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ManneW";
|
owner = "ManneW";
|
||||||
repo = "vilfo-api-client-python";
|
repo = "vilfo-api-client-python";
|
||||||
rev = "v$version}";
|
rev = "v${version}";
|
||||||
sha256 = "1gy5gpsg99rcm1cc3m30232za00r9i46sp74zpd12p3vzz1wyyqf";
|
sha256 = "1gy5gpsg99rcm1cc3m30232za00r9i46sp74zpd12p3vzz1wyyqf";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
@ -168,7 +179,7 @@ let
|
||||||
extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
|
extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
|
||||||
|
|
||||||
# Don't forget to run parse-requirements.py after updating
|
# Don't forget to run parse-requirements.py after updating
|
||||||
hassVersion = "2022.4.7";
|
hassVersion = "2022.5.0";
|
||||||
|
|
||||||
in python.pkgs.buildPythonApplication rec {
|
in python.pkgs.buildPythonApplication rec {
|
||||||
pname = "homeassistant";
|
pname = "homeassistant";
|
||||||
|
@ -186,7 +197,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||||
owner = "home-assistant";
|
owner = "home-assistant";
|
||||||
repo = "core";
|
repo = "core";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-1m3t+AeHyuEyu3gT8P37A+L28mBdNKGmycU6eNOyb4M=";
|
hash = "sha256-xlotye/8oeCs/ntNV4osGjcl7fo05ke7nFLQeee/USY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# leave this in, so users don't have to constantly update their downstream patch handling
|
# leave this in, so users don't have to constantly update their downstream patch handling
|
||||||
|
|
|
@ -4,7 +4,7 @@ buildPythonPackage rec {
|
||||||
# the frontend version corresponding to a specific home-assistant version can be found here
|
# the frontend version corresponding to a specific home-assistant version can be found here
|
||||||
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
|
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
|
||||||
pname = "home-assistant-frontend";
|
pname = "home-assistant-frontend";
|
||||||
version = "20220405.0";
|
version = "20220504.0";
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||||
pname = "home_assistant_frontend";
|
pname = "home_assistant_frontend";
|
||||||
dist = "py3";
|
dist = "py3";
|
||||||
python = "py3";
|
python = "py3";
|
||||||
sha256 = "sha256-M024uJJVhVSoGhJTc7d8NKItw0sAOGFuCsZNUe//vBg=";
|
sha256 = "sha256-CYhUId5SGfPX9beAZH0ZemwciVDxchbDcTvQcRhJwog=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# there is nothing to strip in this package
|
# there is nothing to strip in this package
|
||||||
|
|
|
@ -3268,6 +3268,8 @@ in {
|
||||||
|
|
||||||
gbulb = callPackage ../development/python-modules/gbulb { };
|
gbulb = callPackage ../development/python-modules/gbulb { };
|
||||||
|
|
||||||
|
gcal-sync = callPackage ../development/python-modules/gcal-sync { };
|
||||||
|
|
||||||
gcovr = callPackage ../development/python-modules/gcovr { };
|
gcovr = callPackage ../development/python-modules/gcovr { };
|
||||||
|
|
||||||
gcsfs = callPackage ../development/python-modules/gcsfs { };
|
gcsfs = callPackage ../development/python-modules/gcsfs { };
|
||||||
|
@ -4148,6 +4150,8 @@ in {
|
||||||
|
|
||||||
installer = callPackage ../development/python-modules/installer { };
|
installer = callPackage ../development/python-modules/installer { };
|
||||||
|
|
||||||
|
insteon-frontend-home-assistant = callPackage ../development/python-modules/insteon-frontend-home-assistant { };
|
||||||
|
|
||||||
intake = callPackage ../development/python-modules/intake { };
|
intake = callPackage ../development/python-modules/intake { };
|
||||||
|
|
||||||
intake-parquet = callPackage ../development/python-modules/intake-parquet { };
|
intake-parquet = callPackage ../development/python-modules/intake-parquet { };
|
||||||
|
|
Loading…
Reference in a new issue