Merge pull request #290517 from mweinelt/esphome-2024.2.0

esphome: 2023.12.9 -> 2024.2.0
This commit is contained in:
Martin Weinelt
2024-02-22 03:19:48 +01:00
committed by GitHub
+6 -5
View File
@@ -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