From c6ff2a8cc7986fe4c37c440f090d36ca1f207712 Mon Sep 17 00:00:00 2001 From: Lennart Kolmodin Date: Sun, 8 Jun 2025 22:12:18 +0200 Subject: [PATCH] evcc: 0.309.1 -> 0.311.1 https://github.com/evcc-io/evcc/releases/tag/0.311.1 Also remove tag "test" which otherwise breaks the build of the ship-go dependency: > vendor/github.com/enbility/ship-go/ship/handshake.go:63:72: undefined: getHelloInitTimeout The 'test' tag prevented the production timeouts from being included, and the test definitions are only available in test. https://github.com/enbility/ship-go/blob/dev/README.md#fast-test-execution-with-test-build-tags Generally, the 'test' tag is not something you need to manually add, and indeed no other go package in nixpkgs has such a flag enabled. --- pkgs/by-name/ev/evcc/package.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ev/evcc/package.nix b/pkgs/by-name/ev/evcc/package.nix index 90dce900917b..89a475328079 100644 --- a/pkgs/by-name/ev/evcc/package.nix +++ b/pkgs/by-name/ev/evcc/package.nix @@ -17,16 +17,16 @@ }: let - version = "0.309.1"; + version = "0.311.1"; src = fetchFromGitHub { owner = "evcc-io"; repo = "evcc"; tag = version; - hash = "sha256-fMWLr8UrwejLlPiPdcs5lLd//81iqvuE5Ia9Ne0d3l4="; + hash = "sha256-dxP28NPW+V30XIzh2w++Glrb2xfZ0tpp4H+qOM13yt8="; }; - vendorHash = "sha256-lCXIgJuUg5NG8E/iYobGxtvxfTk77Y8ZzVi0GsjbbHw="; + vendorHash = "sha256-Eh07T9FAoeoUfhJsK6DPmwE2rJX55Ijzp4ydxJc8/bQ="; commonMeta = { license = lib.licenses.mit; @@ -40,7 +40,7 @@ buildGo126Module rec { npmDeps = fetchNpmDeps { inherit src; - hash = "sha256-ypBg2TQ3qbc8cIBfFqICbNSCsIdokOtaFOqFD9bnMQM="; + hash = "sha256-MhLc5RUjn8FYXiFQbGchRnf132QXwG0kSyyPsRRzu1A="; }; nativeBuildInputs = [ @@ -65,7 +65,6 @@ buildGo126Module rec { tags = [ "release" - "test" ]; ldflags = [ @@ -88,6 +87,10 @@ buildGo126Module rec { "TestOctopusConfigParse" "TestSessionHandlerTimezoneFilter" "TestTemplates" + # network access: mdns fails to start Avahi provider + "TestControlBoxGridGuardHeartbeat" + "TestEEBus" + "TestShipPairing" ]; in [ "-skip=^${lib.concatStringsSep "$|^" skippedTests}$" ];