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.
This commit is contained in:
Lennart Kolmodin
2026-07-09 18:38:15 +02:00
parent f35978fbf1
commit c6ff2a8cc7
+8 -5
View File
@@ -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}$" ];