From 8d91aea45051070ab5d97eb6f350a97291a7e29a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 22 Feb 2024 01:10:51 +0100 Subject: [PATCH] esphome: 2023.12.9 -> 2024.2.0 https://github.com/esphome/esphome/releases/tag/2024.2.0 --- pkgs/tools/misc/esphome/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index f3073c051be9..75004801ddab 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -19,26 +19,26 @@ let in python.pkgs.buildPythonApplication rec { pname = "esphome"; - version = "2023.12.9"; + version = "2024.2.0"; pyproject = true; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-8SHf6cbPYPZctjJgIuEb7eOJVi5hWNONyRnMXK0iBXc="; + hash = "sha256-k8caA5Q4QcP7H1Nn5yvFsfExVwipAlFSb/DphkzYNtU="; }; nativeBuildInputs = with python.pkgs; [ setuptools argcomplete installShellFiles + pythonRelaxDepsHook ]; - postPatch = '' - # remove all version pinning (E.g tornado==5.1.1 -> tornado) - sed -i -e "s/==[0-9.]*//" requirements.txt + pythonRelaxDeps = true; + postPatch = '' # drop coverage testing sed -i '/--cov/d' pytest.ini ''; @@ -60,6 +60,7 @@ python.pkgs.buildPythonApplication rec { cryptography esphome-dashboard kconfiglib + icmplib paho-mqtt pillow platformio