Unverified Commit a4f6b5cd authored by Félix's avatar Félix Committed by GitHub
Browse files

esphome: 2026.1.5 -> 2026.2.0 (#491926)

parents d6bd58dc 5cf1b144
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -13,19 +13,19 @@

buildPythonPackage rec {
  pname = "esphome-dashboard";
  version = "20260110.0";
  version = "20260210.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "esphome";
    repo = "dashboard";
    tag = version;
    hash = "sha256-h8g/MRfOBkiCKNTOM4I6OimsE5ljgsIMQLl1eZLfP3U=";
    hash = "sha256-Edd2ZOSBAZSrGVjbncyPhhjFjE0CxBHz16ZHXyzx9LI=";
  };

  npmDeps = fetchNpmDeps {
    inherit src;
    hash = "sha256-DkK2WG7oWHvwYflNdwOMfE0OVP2ICEGAhhTH2rix9zc=";
    hash = "sha256-L6tKhijTFAvQwhBBl5Wk6xzI2dtDI6IYfCkiKX75Pvc=";
  };

  build-system = [ setuptools ];
+4 −4
Original line number Diff line number Diff line
@@ -33,14 +33,14 @@ let
in
python.pkgs.buildPythonApplication rec {
  pname = "esphome";
  version = "2026.1.5";
  version = "2026.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "esphome";
    repo = "esphome";
    tag = version;
    hash = "sha256-leQkNa2FK7Wagpr+TKbfg/qkRMII03+dnWXoFZwwn9w=";
    hash = "sha256-VcfQsDx3u7GTndF5GE0XCplPXVo9ClLJwqWLJFKzWEk=";
  };

  patches = [
@@ -68,8 +68,8 @@ python.pkgs.buildPythonApplication rec {

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "setuptools==80.9.0" "setuptools" \
      --replace-fail "wheel>=0.43,<0.46" "wheel"
      --replace-fail "setuptools==82.0.0" "setuptools" \
      --replace-fail "wheel>=0.43,<0.47" "wheel"
  '';

  # Remove esptool and platformio from requirements