Unverified Commit f8946c68 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #290517 from mweinelt/esphome-2024.2.0

esphome: 2023.12.9 -> 2024.2.0
parents 9625afeb 8d91aea4
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -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