Merge pull request #142074 from NixOS/home-assistant
home-assistant: 2021.10.4 -> 2021.10.6
This commit is contained in:
commit
106ef6c046
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "crownstone-cloud";
|
||||
version = "1.4.5";
|
||||
version = "1.4.8";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -18,8 +18,8 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "crownstone";
|
||||
repo = "crownstone-lib-python-cloud";
|
||||
rev = "v${version}";
|
||||
sha256 = "1a8bkqkrc7iyggr5rr20qdqg67sycdx2d94dd1ylkmr7627r34ys";
|
||||
rev = version;
|
||||
sha256 = "sha256-iHn4g52/QM0TS/flKkcFrX6IFrCjiXUxcjVLHNg6tVo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -32,9 +32,13 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/crownstone/crownstone-lib-python-cloud/issues/1
|
||||
"test_data_structure"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "codecov>=2.1.10" ""
|
||||
sed -i '/codecov/d' requirements.txt
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
@ -1,22 +1,24 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, aresponses
|
||||
, asynctest
|
||||
, backoff
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pytz
|
||||
, types-pytz
|
||||
, voluptuous
|
||||
, websockets
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "simplisafe-python";
|
||||
version = "11.0.6";
|
||||
version = "12.0.2";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -24,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-XVn/GBcTTthvsRJOnCZ0yOF3nUwbBZ2dfMJZsJXnE6U=";
|
||||
sha256 = "sha256-/KnDsnx+Jrirj6uBkdao6PI2jhtzKqDK6cmmQgsO5T4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
@ -35,12 +37,14 @@ buildPythonPackage rec {
|
||||
pytz
|
||||
types-pytz
|
||||
voluptuous
|
||||
websockets
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aioresponses
|
||||
aresponses
|
||||
asynctest
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Do not edit!
|
||||
|
||||
{
|
||||
version = "2021.10.4";
|
||||
version = "2021.10.6";
|
||||
components = {
|
||||
"abode" = ps: with ps; [ abodepy ];
|
||||
"accuweather" = ps: with ps; [ accuweather ];
|
||||
@ -151,7 +151,7 @@
|
||||
"cover" = ps: with ps; [ ];
|
||||
"cppm_tracker" = ps: with ps; [ ]; # missing inputs: clearpasspy
|
||||
"cpuspeed" = ps: with ps; [ py-cpuinfo ];
|
||||
"crownstone" = ps: with ps; [ aiohttp-cors pyserial pyudev ]; # missing inputs: crownstone-cloud crownstone-sse crownstone-uart
|
||||
"crownstone" = ps: with ps; [ aiohttp-cors crownstone-cloud crownstone-sse crownstone-uart pyserial pyudev ];
|
||||
"cups" = ps: with ps; [ pycups ];
|
||||
"currencylayer" = ps: with ps; [ ];
|
||||
"daikin" = ps: with ps; [ pydaikin ];
|
||||
|
@ -68,6 +68,20 @@ let
|
||||
# Pinned due to API changes in 0.1.0
|
||||
(mkOverride "poolsense" "0.0.8" "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp")
|
||||
|
||||
# Pinned due to missing simpliypy.errors.PendingAuthorizationError in simplisafe-python>12 which results in a failing import
|
||||
(self: super: {
|
||||
simplisafe-python = super.simplisafe-python.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "11.0.7";
|
||||
src = fetchFromGitHub {
|
||||
owner = "bachya";
|
||||
repo = "simplisafe-python";
|
||||
rev = version;
|
||||
sha256 = "02nrighkdcd5n9qgbizm9gyfnpgdm4iibw7y8nbyfaxpng069fzp";
|
||||
};
|
||||
checkInputs = oldAttrs.checkInputs ++ [ super.aioresponses ];
|
||||
});
|
||||
})
|
||||
|
||||
# Pinned due to changes in total-connect-client>0.58 which made the tests fails at the moment
|
||||
(self: super: {
|
||||
total-connect-client = super.total-connect-client.overridePythonAttrs (oldAttrs: rec {
|
||||
@ -114,7 +128,7 @@ let
|
||||
extraBuildInputs = extraPackages py.pkgs;
|
||||
|
||||
# Don't forget to run parse-requirements.py after updating
|
||||
hassVersion = "2021.10.4";
|
||||
hassVersion = "2021.10.6";
|
||||
|
||||
in with py.pkgs; buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
@ -131,7 +145,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
rev = version;
|
||||
sha256 = "1cl0h15285x7xba425d9anv882adi6bdqx4i3cicg3gf0nzcc8am";
|
||||
sha256 = "0275f327dzr4cggfw5n8x533b4h8zz8yli5d0js7cw1rmi3cmkbc";
|
||||
};
|
||||
|
||||
# leave this in, so users don't have to constantly update their downstream patch handling
|
||||
|
Loading…
Reference in New Issue
Block a user