evcc: 0.306.3 -> 0.307.0 (#523064)

This commit is contained in:
Martin Weinelt
2026-05-22 16:17:01 +00:00
committed by GitHub
+4 -18
View File
@@ -17,33 +17,21 @@
}:
let
version = "0.306.3";
version = "0.307.0";
src = fetchFromGitHub {
owner = "evcc-io";
repo = "evcc";
tag = version;
hash = "sha256-6j4GTAgC5xvLkaNaOQQBkjINI4Wg57IHVVUoDY/rfBo=";
hash = "sha256-G6+8cJF+So9kePDpNlFGuvsTU5+KXg9dlgaMnElWwL8=";
};
vendorHash = "sha256-JBhx1K8E2BynsgjXBno+0OUpWF15Eyo9yBzofruBEck=";
vendorHash = "sha256-ie5wCRgGj8DeotYD/GrDP9qTnonTJsMqj1fBqHNR84M=";
commonMeta = {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hexa ];
};
decorate = buildGo126Module {
pname = "evcc-decorate";
inherit version src vendorHash;
subPackages = "cmd/decorate";
meta = commonMeta // {
description = "EVCC decorate helper";
homepage = "https://github.com/evcc-io/evcc/tree/master/cmd/decorate";
};
};
in
buildGo126Module rec {
@@ -52,7 +40,7 @@ buildGo126Module rec {
npmDeps = fetchNpmDeps {
inherit src;
hash = "sha256-PL16KEA5XaJjE5SvziMxdjlG2j7fQutfOoSvruxGJHQ=";
hash = "sha256-CtZoPtpENUfaVvs2zozBWsMYD8ZJFAXig7sYcNNLwzY=";
};
nativeBuildInputs = [
@@ -62,7 +50,6 @@ buildGo126Module rec {
overrideModAttrs = _: {
nativeBuildInputs = [
decorate
enumer
go_1_26
gokrazy
@@ -106,7 +93,6 @@ buildGo126Module rec {
[ "-skip=^${lib.concatStringsSep "$|^" skippedTests}$" ];
passthru = {
inherit decorate;
tests = {
inherit (nixosTests) evcc;
};