Merge pull request #150290 from mweinelt/esphome

esphome: 2021.11.4 -> 2021.12.0
This commit is contained in:
Thiago Kenji Okada 2021-12-12 12:01:28 -03:00 committed by GitHub
commit 2339feedbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 8 deletions

View file

@ -4,11 +4,11 @@
with python3.pkgs; buildPythonPackage rec {
pname = "esphome-dashboard";
version = "20211201.0";
version = "20211211.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-/VARM59TI2Ff70Jq0smFMrt4o2G/wKSdcOreLfxMAMQ=";
sha256 = "sha256-xF1/gUJCr4qRO+AnWeFO6b1YnQBOgve/23ZaGmCa910=";
};
# no tests

View file

@ -17,23 +17,19 @@ let
in
with python.pkgs; buildPythonApplication rec {
pname = "esphome";
version = "2021.11.4";
version = "2021.12.0";
format = "setuptools";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "sha256-hPnng3Jkb2FucEOar/MIjvWHKbT3NNxEn6CIr3sd1Ng=";
sha256 = "sha256-OiqY72XuzkdVxrUyPwAgH/Lnrht4lTlLYOirjF9UpjM=";
};
patches = [
# fix missing write permissions on src files before modifing them
./fix-src-permissions.patch
(fetchpatch {
url = "https://github.com/esphome/esphome/commit/fbe1bca1b9896ba8c8b754c5a4faf790bffd887b.patch";
sha256 = "sha256-Iyc79iL2YkLGD81TbFK3GaCY2L9nTE9mKz6MQSNQWr8=";
})
];
postPatch = ''