esphome: 2021.11.4 -> 2021.12.0

This commit is contained in:
Martin Weinelt 2021-12-11 20:17:44 +01:00
parent e7048a6c2b
commit b2aa4f1f25
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
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 = ''