diff options
Diffstat (limited to 'pkgs/tools/misc/esphome/default.nix')
-rw-r--r-- | pkgs/tools/misc/esphome/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index ea6e7a3471d1f..b95f6d6d9b3cb 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -8,10 +8,12 @@ , git , inetutils , stdenv +, nixosTests }: let python = python3Packages.python.override { + self = python; packageOverrides = self: super: { esphome-dashboard = self.callPackage ./dashboard.nix { }; }; @@ -19,21 +21,20 @@ let in python.pkgs.buildPythonApplication rec { pname = "esphome"; - version = "2024.6.4"; + version = "2024.7.3"; pyproject = true; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-Wdq6sduIjvvLZAumYGmlm3QDaSKqmg/rssQNjdxQuaA="; + hash = "sha256-D81VmT2E84Q4sOzZy/98mbx69vAskpwYlwqtXNjkBvs="; }; nativeBuildInputs = with python.pkgs; [ setuptools argcomplete installShellFiles - pythonRelaxDepsHook ]; pythonRelaxDeps = true; @@ -133,6 +134,7 @@ python.pkgs.buildPythonApplication rec { passthru = { dashboard = python.pkgs.esphome-dashboard; updateScript = callPackage ./update.nix { }; + tests = { inherit (nixosTests) esphome; }; }; meta = with lib; { |