esphome: 2024.11.3 -> 2024.12.0 (#366409)

This commit is contained in:
Martin Weinelt
2024-12-19 14:30:55 +01:00
committed by GitHub
2 changed files with 7 additions and 12 deletions
+3 -3
View File
@@ -13,19 +13,19 @@
buildPythonPackage rec {
pname = "esphome-dashboard";
version = "20241120.0";
version = "20241217.1";
pyproject = true;
src = fetchFromGitHub {
owner = "esphome";
repo = "dashboard";
rev = "refs/tags/${version}";
hash = "sha256-insoDWHqMFAGgmsY2ZgNuo1cl0WGJXRy398bt3ADORs=";
hash = "sha256-Mirihvts8G2D4e5Jn7S0dWEJ+sOHZ+fvzsNaLpAOyMA=";
};
npmDeps = fetchNpmDeps {
inherit src;
hash = "sha256-UKrF7yzyj09WBrmrJ6uzcRjIYrKwCqLQ5paiqnt/Xuc=";
hash = "sha256-fWQvDMeuRjyToHhhZH1KtLWuhgAvq900cCja2dvLQyU=";
};
build-system = [ setuptools ];
+4 -9
View File
@@ -22,14 +22,14 @@ let
in
python.pkgs.buildPythonApplication rec {
pname = "esphome";
version = "2024.11.3";
version = "2024.12.0";
pyproject = true;
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-ZGqYvbNBQSoU6F20Bdzif8zmzLPr4XusVVrOR0iWl7k=";
hash = "sha256-Ftq01cfKs9FVL6cexgnTf9KANtM+UgCHOloTgnvRENs=";
};
build-systems = with python.pkgs; [
@@ -55,20 +55,15 @@ python.pkgs.buildPythonApplication rec {
# ensure component dependencies are available
cat requirements_optional.txt >> requirements.txt
# relax strict runtime version check
substituteInPlace esphome/components/font/__init__.py \
--replace-fail "10.4.0" "${python.pkgs.pillow.version}"
'';
# Remove esptool and platformio from requirements
env.ESPHOME_USE_SUBPROCESS = "";
# esphome has optional dependencies it does not declare, they are
# loaded when certain config blocks are used, like `font`, `image`
# or `animation`.
# loaded when certain config blocks are used.
# They have validation functions like:
# - validate_cryptography_installed
# - validate_pillow_installed
# - validate_cryptography_installed for the wifi component
dependencies = with python.pkgs; [
aioesphomeapi
argcomplete