esphome: 2024.2.2 -> 2024.3.0
https://github.com/esphome/esphome/releases/tag/2024.3.0
This commit is contained in:
parent
44d0940ea5
commit
31309a6da5
|
@ -5,12 +5,12 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "esphome-dashboard";
|
pname = "esphome-dashboard";
|
||||||
version = "20231107.0";
|
version = "20240319.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-84iM987nxNidMObnbY3lt78xRbN9USNtqQzfOzkd17k=";
|
hash = "sha256-jiEXZWw8A4RcsRbypFpWkt8O3Ib1cNcOQO1zHt96aQU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# no tests
|
# no tests
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
, callPackage
|
, callPackage
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch2
|
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, platformio
|
, platformio
|
||||||
, esptool
|
, esptool
|
||||||
|
@ -20,24 +19,16 @@ let
|
||||||
in
|
in
|
||||||
python.pkgs.buildPythonApplication rec {
|
python.pkgs.buildPythonApplication rec {
|
||||||
pname = "esphome";
|
pname = "esphome";
|
||||||
version = "2024.2.2";
|
version = "2024.3.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-SIp4hrllPgWNnrflUStSIcUB00eGU5pHoYveBPg7CVw=";
|
hash = "sha256-ha15MLTScFmgYjIRwCQ46DD+Zm64r+KReJTS8jfZX0o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch2 {
|
|
||||||
name = "esphome-voluptuous-0.14.2-compat.patch";
|
|
||||||
url = "https://github.com/esphome/esphome/commit/256d886d77fbff37e803593fdc6fce7be0b49487.patch";
|
|
||||||
hash = "sha256-Gm1iSSCMeHK2W41GpUjQWlQTpIyXzq44wSdGEtWiu0g=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = with python.pkgs; [
|
nativeBuildInputs = with python.pkgs; [
|
||||||
setuptools
|
setuptools
|
||||||
argcomplete
|
argcomplete
|
||||||
|
@ -80,6 +71,7 @@ python.pkgs.buildPythonApplication rec {
|
||||||
python-magic
|
python-magic
|
||||||
pyyaml
|
pyyaml
|
||||||
requests
|
requests
|
||||||
|
ruamel-yaml
|
||||||
tornado
|
tornado
|
||||||
tzdata
|
tzdata
|
||||||
tzlocal
|
tzlocal
|
||||||
|
@ -108,13 +100,6 @@ python.pkgs.buildPythonApplication rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
|
||||||
# requires hypothesis 5.49, we have 6.x
|
|
||||||
# ImportError: cannot import name 'ip_addresses' from 'hypothesis.provisional'
|
|
||||||
"tests/unit_tests/test_core.py"
|
|
||||||
"tests/unit_tests/test_helpers.py"
|
|
||||||
];
|
|
||||||
|
|
||||||
postCheck = ''
|
postCheck = ''
|
||||||
$out/bin/esphome --help > /dev/null
|
$out/bin/esphome --help > /dev/null
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user