mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
esphome: 2024.10.3 -> 2024.11.0 (#357617)
This commit is contained in:
commit
6216c3555f
@ -12,19 +12,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "esphome-dashboard";
|
||||
version = "20240620.0";
|
||||
version = "20241120.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "esphome";
|
||||
repo = "dashboard";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-LmIxfX3rcRK90h31J0B5T02f48MCctFERgXxf0zkDm0=";
|
||||
hash = "sha256-insoDWHqMFAGgmsY2ZgNuo1cl0WGJXRy398bt3ADORs=";
|
||||
};
|
||||
|
||||
npmDeps = fetchNpmDeps {
|
||||
inherit src;
|
||||
hash = "sha256-xMVESS1bPNJF07joUgY8ku+GWtflWhM8mYAv0emggc8=";
|
||||
hash = "sha256-UKrF7yzyj09WBrmrJ6uzcRjIYrKwCqLQ5paiqnt/Xuc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -21,14 +21,14 @@ let
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "esphome";
|
||||
version = "2024.10.3";
|
||||
version = "2024.11.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-13hNX9uaQbO/IKUkGaOITKh+REqUCHirbTPRgomzHBU=";
|
||||
hash = "sha256-YH/i1W9d79ZnQCiLiAMHn6goa0l/kqL4MddKYcgLOjg=";
|
||||
};
|
||||
|
||||
build-systems = with python.pkgs; [
|
||||
@ -56,7 +56,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
cat requirements_optional.txt >> requirements.txt
|
||||
# relax strict runtime version check
|
||||
substituteInPlace esphome/components/font/__init__.py \
|
||||
--replace-fail "10.2.0" "${python.pkgs.pillow.version}"
|
||||
--replace-fail "10.4.0" "${python.pkgs.pillow.version}"
|
||||
'';
|
||||
|
||||
# Remove esptool and platformio from requirements
|
||||
@ -76,7 +76,9 @@ python.pkgs.buildPythonApplication rec {
|
||||
colorama
|
||||
cryptography
|
||||
esphome-dashboard
|
||||
freetype-py
|
||||
icmplib
|
||||
glyphsets
|
||||
kconfiglib
|
||||
packaging
|
||||
paho-mqtt
|
||||
|
Loading…
Reference in New Issue
Block a user