···1617buildGoPackage rec {
18 pname = "gitea";
19- version = "1.15.3";
2021 # not fetching directly from the git repo, because that lacks several vendor files for the web UI
22 src = fetchurl {
23 url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz";
24- sha256 = "sha256-r8FP9jEIChg4XDb0AF9riQBpNCVmffrVI0yzI83qwA0=";
25 };
2627 unpackPhase = ''
···1617buildGoPackage rec {
18 pname = "gitea";
19+ version = "1.15.4";
2021 # not fetching directly from the git repo, because that lacks several vendor files for the web UI
22 src = fetchurl {
23 url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz";
24+ sha256 = "sha256-UsaTA6bI5pr3vbvO3jFn8A8qVRi385fbiJQD09Ut/X0=";
25 };
2627 unpackPhase = ''
···57 "-DgRPC_ABSL_PROVIDER=package"
58 "-DBUILD_SHARED_LIBS=ON"
59 "-DCMAKE_SKIP_BUILD_RPATH=OFF"
60+ # Needs to be compiled with -std=c++11 for clang < 11. Interestingly this is
61+ # only an issue with the useLLVM stdenv, not the darwin stdenv…
62+ # https://github.com/grpc/grpc/issues/26473#issuecomment-860885484
63+ (if (stdenv.hostPlatform.useLLVM or false) && lib.versionOlder stdenv.cc.cc.version "11.0"
64+ then "-DCMAKE_CXX_STANDARD=11"
65+ else "-DCMAKE_CXX_STANDARD=17")
66 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
67 "-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=${buildPackages.protobuf}/bin/protoc"
68 ];
···73 rm -vf BUILD
74 '';
7576+ # When natively compiling, grpc_cpp_plugin is executed from the build directory,
77+ # needing to load dynamic libraries from the build directory, so we set
78+ # LD_LIBRARY_PATH to enable this. When cross compiling we need to avoid this,
79+ # since it can cause the grpc_cpp_plugin executable from buildPackages to
80+ # crash if build and host architecture are compatible (e. g. pkgsLLVM).
81+ preBuild = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
82 export LD_LIBRARY_PATH=$(pwd)''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH
83 '';
84
···2# Do not edit!
34{
5- version = "2021.10.0";
6 components = {
7 "abode" = ps: with ps; [ abodepy ];
8 "accuweather" = ps: with ps; [ accuweather ];
···216 "edimax" = ps: with ps; [ pyedimax ];
217 "edl21" = ps: with ps; [ pysml ];
218 "ee_brightbox" = ps: with ps; [ eebrightbox ];
219- "efergy" = ps: with ps; [ ]; # missing inputs: pyefergy
220 "egardia" = ps: with ps; [ pythonegardia ];
221 "eight_sleep" = ps: with ps; [ pyeight ];
222 "elgato" = ps: with ps; [ elgato ];
···2# Do not edit!
34{
5+ version = "2021.10.2";
6 components = {
7 "abode" = ps: with ps; [ abodepy ];
8 "accuweather" = ps: with ps; [ accuweather ];
···216 "edimax" = ps: with ps; [ pyedimax ];
217 "edl21" = ps: with ps; [ pysml ];
218 "ee_brightbox" = ps: with ps; [ eebrightbox ];
219+ "efergy" = ps: with ps; [ pyefergy ];
220 "egardia" = ps: with ps; [ pythonegardia ];
221 "eight_sleep" = ps: with ps; [ pyeight ];
222 "elgato" = ps: with ps; [ elgato ];
+2-2
pkgs/servers/home-assistant/default.nix
···114 extraBuildInputs = extraPackages py.pkgs;
115116 # Don't forget to run parse-requirements.py after updating
117- hassVersion = "2021.10.0";
118119in with py.pkgs; buildPythonApplication rec {
120 pname = "homeassistant";
···131 owner = "home-assistant";
132 repo = "core";
133 rev = version;
134- sha256 = "0m54ynx0i4a6wljg6d9i6xa79c15cqah5cgaswgrbaxhjw5q78iv";
135 };
136137 # leave this in, so users don't have to constantly update their downstream patch handling
···114 extraBuildInputs = extraPackages py.pkgs;
115116 # Don't forget to run parse-requirements.py after updating
117+ hassVersion = "2021.10.2";
118119in with py.pkgs; buildPythonApplication rec {
120 pname = "homeassistant";
···131 owner = "home-assistant";
132 repo = "core";
133 rev = version;
134+ sha256 = "0nds4491v8wy4d8w842asjpjj7xhqghlq0h61i7z6wp8jln7m418";
135 };
136137 # leave this in, so users don't have to constantly update their downstream patch handling
+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 = "20211006.0";
89 src = fetchPypi {
10 inherit pname version;
11- sha256 = "sha256-rlscTHqa1TMsIVW7kWFGR/feak0XewDRkybpo8dPXj0=";
12 };
1314 # 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 = "20211007.0";
89 src = fetchPypi {
10 inherit pname version;
11+ sha256 = "sha256-GchSCqdVPk8RVe4iNEVvrsIgrV9/CHE5bQwyaT+ErvU=";
12 };
1314 # there is nothing to strip in this package