diff --git a/pkgs/servers/home-automation/evcc/default.nix b/pkgs/servers/home-automation/evcc/default.nix index 943286fa7a79..7117859f2fb8 100644 --- a/pkgs/servers/home-automation/evcc/default.nix +++ b/pkgs/servers/home-automation/evcc/default.nix @@ -1,9 +1,9 @@ { lib -, buildGoModule +, buildGo122Module , fetchFromGitHub , fetchNpmDeps , cacert -, go +, go_1_22 , git , enumer , mockgen @@ -14,22 +14,27 @@ , stdenv }: +let + buildGoModule = buildGo122Module; + go = go_1_22; +in + buildGoModule rec { pname = "evcc"; - version = "0.124.0"; + version = "0.124.4"; src = fetchFromGitHub { owner = "evcc-io"; repo = "evcc"; rev = version; - hash = "sha256-x6BsW4INahGFbFNprE1mZjlW/EoEMZgDIJACd9F+g6A="; + hash = "sha256-sSR0aRSIUPph1YGfY6ihUffKiyauSbO7eUSVa3jaY6s="; }; - vendorHash = "sha256-/TlbjyKGpVqkQAStx8QaAxpWsVYs0yxBMantqelYkhw="; + vendorHash = "sha256-1ZSMI6mz8CkibP3KwWJ3I05BMoBu9r+Fn8vLLDTpVfA="; npmDeps = fetchNpmDeps { inherit src; - hash = "sha256-Tl08gscv8WaMG4XfIVUWqj76xICWwUTBDK0VSs2kwMk="; + hash = "sha256-Uu1idwI3zRQmu2xBrbMcFBmJuO/z+N5+6eSRK+n1pg8="; }; nativeBuildInputs = [