forked from mirrors/nixpkgs
Merge pull request #130987 from mweinelt/esphome
esphome: 1.19.4 -> 1.20.0
This commit is contained in:
commit
b5fa0e066d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue