1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

esphome: 2023.12.9 -> 2024.2.0

https://github.com/esphome/esphome/releases/tag/2024.2.0
This commit is contained in:
Martin Weinelt 2024-02-22 01:10:51 +01:00
parent 827a4c5ead
commit 8d91aea450
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

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