···20 pkgs.runCommand "unit-${mkPathSafeName name}"
21 { preferLocalBuild = true;
22 allowSubstitutes = false;
23+ # unit.text can be null. But variables that are null listed in
24+ # passAsFile are ignored by nix, resulting in no file being created,
25+ # making the mv operation fail.
26+ text = optionalString (unit.text != null) unit.text;
27 passAsFile = [ "text" ];
28 }
29 ''
···77 ];
78 });
790000000000000000000080 geojson = super.geojson.overridePythonAttrs (oldAttrs: rec {
81 version = "2.5.0";
82 src = fetchFromGitHub {
···375 extraBuildInputs = extraPackages python.pkgs;
376377 # Don't forget to run parse-requirements.py after updating
378+ hassVersion = "2023.11.0";
379380in python.pkgs.buildPythonApplication rec {
381 pname = "homeassistant";
···391 # Primary source is the pypi sdist, because it contains translations
392 src = fetchPypi {
393 inherit pname version;
394+ hash = "sha256-qLs098k/MUvmOl6/tB4SDU55V7KTZ0+T3RUoLH4AQ2Q=";
395 };
396397 # Secondary source is git for tests
···399 owner = "home-assistant";
400 repo = "core";
401 rev = "refs/tags/${version}";
402+ hash = "sha256-I5I/OcVE6nGO7LG3s2I1P/VUbPjPkUc7qj43z99tIRM=";
403 };
404405 nativeBuildInputs = with python.pkgs; [
+2-2
pkgs/servers/home-assistant/frontend.nix
···4 # the frontend version corresponding to a specific home-assistant version can be found here
5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
6 pname = "home-assistant-frontend";
7- version = "20231005.0";
8 format = "wheel";
910 src = fetchPypi {
···12 pname = "home_assistant_frontend";
13 dist = "py3";
14 python = "py3";
15- hash = "sha256-p93bo5+VQykcuK5f0r848tMoANSexvHDVBm7f3IYOMM=";
16 };
1718 # there is nothing to strip in this package
···4 # the frontend version corresponding to a specific home-assistant version can be found here
5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
6 pname = "home-assistant-frontend";
7+ version = "20231030.1";
8 format = "wheel";
910 src = fetchPypi {
···12 pname = "home_assistant_frontend";
13 dist = "py3";
14 python = "py3";
15+ hash = "sha256-S363j7HnOxLqCBaml1Kb9xfY0AaqBIgj09NutByn6Xo=";
16 };
1718 # there is nothing to strip in this package