mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
home-assistant: 2024.4.4 -> 2024.5.0
https://www.home-assistant.io/blog/2024/05/01/release-20245/
This commit is contained in:
parent
0ee7491582
commit
7cf9a942d0
File diff suppressed because it is too large
Load Diff
@ -39,15 +39,6 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
aioautomower = super.aioautomower.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2024.3.4";
|
||||
src = fetchFromGitHub {
|
||||
inherit (oldAttrs.src) owner repo;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-dk8HfIiQOKq7Ky+vYa3wKmTS78gTw6J0yyQT2Folpp0=";
|
||||
};
|
||||
});
|
||||
|
||||
aioelectricitymaps = super.aioelectricitymaps.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.4.0";
|
||||
src = fetchFromGitHub {
|
||||
@ -61,21 +52,6 @@ let
|
||||
];
|
||||
});
|
||||
|
||||
aiogithubapi = super.aiogithubapi.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "22.10.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ludeeus";
|
||||
repo = "aiogithubapi";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ceBuqaMqqL6qwN52765MG4sLt+08hx2G9rUVNC7x6ik=";
|
||||
};
|
||||
propagatedBuildInputs = with self; [
|
||||
aiohttp
|
||||
async-timeout
|
||||
backoff
|
||||
];
|
||||
});
|
||||
|
||||
aiopurpleair = super.aiopurpleair.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2022.12.1";
|
||||
src = fetchFromGitHub {
|
||||
@ -293,17 +269,6 @@ let
|
||||
doCheck = false; # no tests
|
||||
});
|
||||
|
||||
# Pinned due to API changes in 1.3.0
|
||||
ovoenergy = super.ovoenergy.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.2.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "timmo001";
|
||||
repo = "ovoenergy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-OSK74uvpHuEtWgbLVFrz1NO7lvtHbt690smGQ+GlsOI=";
|
||||
};
|
||||
});
|
||||
|
||||
# Pinned due to API changes in 0.1.0
|
||||
poolsense = super.poolsense.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.0.8";
|
||||
@ -314,16 +279,6 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
py-synologydsm-api = super.py-synologydsm-api.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.1.4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mib1185";
|
||||
repo = "py-synologydsm-api";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-37JzdhMny6YDTBO9NRzfrZJAVAOPnpcr95fOKxisbTg=";
|
||||
};
|
||||
});
|
||||
|
||||
pyasn1 = super.pyasn1.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.4.8";
|
||||
src = fetchPypi {
|
||||
@ -366,20 +321,6 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
python-roborock = super.python-roborock.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.40.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "humbertogontijo";
|
||||
repo = "python-roborock";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-H4xwgulNLs3R1Q5GhvQffpAZ1CWXZUJAja8BskW+YJk=";
|
||||
};
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "poetry-core==" "poetry-core>="
|
||||
'';
|
||||
});
|
||||
|
||||
pytibber = super.pytibber.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.28.2";
|
||||
src = fetchFromGitHub {
|
||||
@ -525,7 +466,7 @@ let
|
||||
extraBuildInputs = extraPackages python.pkgs;
|
||||
|
||||
# Don't forget to run update-component-packages.py after updating
|
||||
hassVersion = "2024.4.4";
|
||||
hassVersion = "2024.5.0";
|
||||
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
@ -543,16 +484,16 @@ in python.pkgs.buildPythonApplication rec {
|
||||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-bZcrFtaO0S22M6Wt2otK8rCg+NhpXr+/yRFxi02QJJI=";
|
||||
hash = "sha256-YtlelAfFC3fnw78lZIf5FtQifvtwb2ZjCrZgM2G7S5U=";
|
||||
};
|
||||
|
||||
# Secondary source is pypi sdist for translations
|
||||
sdist = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-NyIBFpDstX1MEoLS9p7GXl/+V6xB2hklNf2LmNLUMQk=";
|
||||
hash = "sha256-9BgfQCP+t4zvC+ZVI0IAlm2qFArqRjTb8974sY/SHUg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python.pkgs; [
|
||||
build-system = with python.pkgs; [
|
||||
pythonRelaxDepsHook
|
||||
setuptools
|
||||
];
|
||||
@ -592,16 +533,20 @@ in python.pkgs.buildPythonApplication rec {
|
||||
postPatch = ''
|
||||
substituteInPlace tests/test_config.py --replace-fail '"/usr"' '"/build/media"'
|
||||
|
||||
substituteInPlace pyproject.toml --replace-fail "wheel~=0.43.0" wheel
|
||||
|
||||
sed -i 's/setuptools[~=]/setuptools>/' pyproject.toml
|
||||
sed -i 's/wheel[~=]/wheel>/' pyproject.toml
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
dependencies = with python.pkgs; [
|
||||
# Only packages required in pyproject.toml
|
||||
aiodns
|
||||
aiohttp
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
aiohttp-isal
|
||||
aiohttp-session
|
||||
astral
|
||||
async-interrupt
|
||||
atomicwrites-homeassistant
|
||||
@ -613,8 +558,8 @@ in python.pkgs.buildPythonApplication rec {
|
||||
cryptography
|
||||
fnv-hash-fast
|
||||
hass-nabucasa
|
||||
httpx
|
||||
home-assistant-bluetooth
|
||||
httpx
|
||||
ifaddr
|
||||
jinja2
|
||||
lru-dict
|
||||
@ -623,8 +568,8 @@ in python.pkgs.buildPythonApplication rec {
|
||||
pillow
|
||||
pip
|
||||
psutil-home-assistant
|
||||
pyopenssl
|
||||
pyjwt
|
||||
pyopenssl
|
||||
python-slugify
|
||||
pyyaml
|
||||
requests
|
||||
@ -666,6 +611,8 @@ in python.pkgs.buildPythonApplication rec {
|
||||
tomli
|
||||
# Sneakily imported in tests/conftest.py
|
||||
paho-mqtt
|
||||
# Used in tests/non_packaged_scripts/test_alexa_locales.py
|
||||
beautifulsoup4
|
||||
] ++ lib.concatMap (component: getPackages component python.pkgs) [
|
||||
# some components are needed even if tests in tests/components are disabled
|
||||
"default_config"
|
||||
@ -688,6 +635,8 @@ in python.pkgs.buildPythonApplication rec {
|
||||
"--deselect=tests/helpers/test_script.py::test_multiple_runs_repeat_choose"
|
||||
# SystemError: PyThreadState_SetAsyncExc failed
|
||||
"--deselect=tests/helpers/test_template.py::test_template_timeout"
|
||||
# AssertionError: assert 6 == 5
|
||||
"--deselect=tests/helpers/test_translation.py::test_caching"
|
||||
# tests are located in tests/
|
||||
"tests"
|
||||
];
|
||||
|
@ -4,7 +4,7 @@ buildPythonPackage rec {
|
||||
# the frontend version corresponding to a specific home-assistant version can be found here
|
||||
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
|
||||
pname = "home-assistant-frontend";
|
||||
version = "20240404.2";
|
||||
version = "20240501.0";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
pname = "home_assistant_frontend";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
hash = "sha256-xCpQHzfXXt9aOWWVGYtt9NYws//ZPjI/owXBQafb31k=";
|
||||
hash = "sha256-W3EiDkm/Se63/Ph4HUSRj2pY+y/pyCqecs4azYcxsaw=";
|
||||
};
|
||||
|
||||
# there is nothing to strip in this package
|
||||
|
Loading…
Reference in New Issue
Block a user