esphome: 1.19.4 -> 1.20.0

https://github.com/esphome/esphome/releases/tag/v1.20.0
This commit is contained in:
Martin Weinelt 2021-07-21 23:07:11 +02:00
parent 077b2825cd
commit 561c1ee2d3
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 4 additions and 10 deletions

View File

@ -4,11 +4,11 @@
with python3.pkgs; buildPythonPackage rec {
pname = "esphome-dashboard";
version = "20210623.0";
version = "20210719.0";
src = fetchPypi {
inherit pname version;
sha256 = "0fc6xgi1naydm3wgk5lljnf6zggzdk6558cpyqlriw031gqnab77";
sha256 = "sha256-gUZut9FsFHZ0zcTg+QDIdsM3EMvNFBawgBnt/Ia1BIc=";
};
# no tests

View File

@ -16,13 +16,13 @@ let
in
with python.pkgs; buildPythonApplication rec {
pname = "esphome";
version = "1.19.4";
version = "1.20.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "029ykjk24h21b0s0gha6kv9pvgallin6marzkb2vfbvr3icsmbz2";
sha256 = "sha256-saLcTiWqpxnE+li9ojfrEAh/vjB1c3K4kQzkrBJW3t4=";
};
patches = [
@ -36,12 +36,6 @@ with python.pkgs; buildPythonApplication rec {
# drop coverage testing
sed -i '/--cov/d' pytest.ini
# migrate use of hypothesis internals to be compatible with hypothesis>=5.32.1
# https://github.com/esphome/issues/issues/2021
substituteInPlace tests/unit_tests/strategies.py --replace \
"@st.defines_strategy_with_reusable_values" \
"@st.defines_strategy(force_reusable_values=True)"
'';
# Remove esptool and platformio from requirements