mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00:00
home-assistant: 2023.11.1 -> 2023.11.2
https://github.com/home-assistant/core/releases/tag/2023.11.2
This commit is contained in:
parent
8a129215ef
commit
a9f41a1bab
@ -2,12 +2,13 @@
|
||||
# Do not edit!
|
||||
|
||||
{
|
||||
version = "2023.11.1";
|
||||
version = "2023.11.2";
|
||||
components = {
|
||||
"3_day_blinds" = ps: with ps; [
|
||||
];
|
||||
"abode" = ps: with ps; [
|
||||
jaraco-abode
|
||||
jaraco-functools
|
||||
];
|
||||
"accuweather" = ps: with ps; [
|
||||
accuweather
|
||||
|
@ -3,7 +3,6 @@
|
||||
, callPackage
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, python311
|
||||
, substituteAll
|
||||
, ffmpeg-headless
|
||||
@ -183,6 +182,15 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
psutil = super.psutil.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "5.9.6";
|
||||
src = fetchPypi {
|
||||
pname = "psutil";
|
||||
inherit version;
|
||||
hash = "sha256-5Lkt3NfdTN0/kAGA6h4QSTLHvOI0+4iXbio7KWRBIlo=";
|
||||
};
|
||||
});
|
||||
|
||||
py-synologydsm-api = super.py-synologydsm-api.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.1.4";
|
||||
src = fetchFromGitHub {
|
||||
@ -300,17 +308,6 @@ let
|
||||
doCheck = false;
|
||||
});
|
||||
|
||||
# Pinned due to API changes in 0.3.0
|
||||
tailscale = super.tailscale.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.2.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "frenck";
|
||||
repo = "python-tailscale";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-/tS9ZMUWsj42n3MYPZJYJELzX3h02AIHeRZmD2SuwWE=";
|
||||
};
|
||||
});
|
||||
|
||||
# Pinned due to API changes ~1.0
|
||||
vultr = super.vultr.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.1.2";
|
||||
@ -356,7 +353,7 @@ let
|
||||
extraBuildInputs = extraPackages python.pkgs;
|
||||
|
||||
# Don't forget to run parse-requirements.py after updating
|
||||
hassVersion = "2023.11.1";
|
||||
hassVersion = "2023.11.2";
|
||||
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
@ -372,7 +369,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||
# Primary source is the pypi sdist, because it contains translations
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-4OIvY6blun++7JDY+B0Cjrr4yNgnjTd8G55SWkhS3Cs=";
|
||||
hash = "sha256-cnneRq0hIyvgKo0du/52ze0IVs8TgTPNQM3T1kyy03s=";
|
||||
};
|
||||
|
||||
# Secondary source is git for tests
|
||||
@ -380,7 +377,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Z/CV1sGdJsdc4OxUZulC0boHaMP7WpajbY8Y6R9Q//I=";
|
||||
hash = "sha256-OljfYmlXSJVoWWsd4jcSF4nI/FXHqRA8e4LN5AaPVv8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python.pkgs; [
|
||||
@ -400,13 +397,6 @@ in python.pkgs.buildPythonApplication rec {
|
||||
src = ./patches/ffmpeg-path.patch;
|
||||
ffmpeg = "${lib.getBin ffmpeg-headless}/bin/ffmpeg";
|
||||
})
|
||||
(fetchpatch {
|
||||
# freeze time in litterrobot tests
|
||||
# https://github.com/home-assistant/core/pull/103444
|
||||
name = "home-assistant-litterrobot-freeze-test-time.patch";
|
||||
url = "https://github.com/home-assistant/core/commit/806205952ff863e2cf1875be406ea0254be5f13a.patch";
|
||||
hash = "sha256-OVbmJWy275nYWrif9awAGIYlgZqrRPcYBhB0Vil8rmk=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = let
|
||||
@ -526,6 +516,8 @@ in python.pkgs.buildPythonApplication rec {
|
||||
"--deselect=tests/helpers/test_entity_registry.py::test_get_or_create_updates_data"
|
||||
# AssertionError: assert 2 == 1
|
||||
"--deselect=tests/helpers/test_entity_values.py::test_override_single_value"
|
||||
# AssertionError: assert 'WARNING' not in '2023-11-10 ...nt abc[L]>\n'"
|
||||
"--deselect=tests/helpers/test_script.py::test_multiple_runs_repeat_choose"
|
||||
# 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 = "20231030.1";
|
||||
version = "20231030.2";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
pname = "home_assistant_frontend";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
hash = "sha256-S363j7HnOxLqCBaml1Kb9xfY0AaqBIgj09NutByn6Xo=";
|
||||
hash = "sha256-qzodzqWpAXZjwBJkiCyBi5zzfpEqqtauJn2PKZ5UtJ0=";
|
||||
};
|
||||
|
||||
# there is nothing to strip in this package
|
||||
|
Loading…
Reference in New Issue
Block a user