From 2e60a42033aad56148cc9ee3d9aac75763267330 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 9 Jan 2023 02:33:33 +0100 Subject: [PATCH 1/2] evcc: 0.109.2 -> 0.110.1 https://github.com/evcc-io/evcc/releases/tag/0.110.0 https://github.com/evcc-io/evcc/releases/tag/0.110.1 --- pkgs/servers/home-automation/evcc/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/home-automation/evcc/default.nix b/pkgs/servers/home-automation/evcc/default.nix index 956fc1cbca72..715ab8dd349c 100644 --- a/pkgs/servers/home-automation/evcc/default.nix +++ b/pkgs/servers/home-automation/evcc/default.nix @@ -16,20 +16,20 @@ buildGoModule rec { pname = "evcc"; - version = "0.109.2"; + version = "0.110.1"; src = fetchFromGitHub { owner = "evcc-io"; repo = pname; rev = version; - hash = "sha256-/Mklf+F9OHq56Qj/kn8JpRAgWwCZqwsH9EwrBFdi/mQ="; + hash = "sha256-SIBVvVl1O+vqQug6LTzKEzFAay82ot4e+rXd17Djvqc="; }; - vendorHash = "sha256-H3ACmang+DPOCnccHLG6YzKvi7Rf5k8RkJDD1CgGBrw="; + vendorHash = "sha256-YP6/3+jVbavBE6ZSopryC1SgQc5kzE+gWpNbwptBMG8="; npmDeps = fetchNpmDeps { inherit src; - hash = "sha256-oxoENlZNThW1PrwcGwiNP5Q7BZyhhtuCwXFey0t3Kz8="; + hash = "sha256-hc3IkWiafKBGtGPEPWWbj4XQsGh+PrGGnBV2bzEAn0s="; }; nativeBuildInputs = [ From 56103f5f70bdc38e459a6f7c033809446b7fd7d3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 9 Jan 2023 02:34:55 +0100 Subject: [PATCH 2/2] nixos/tests/evcc: Ignore ERROR level messages The version checker fails with an ERROR message, so asserting on that isn't useful for us since 0.110.2. --- nixos/tests/evcc.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/tests/evcc.nix b/nixos/tests/evcc.nix index c223977a9d82..b445735ede98 100644 --- a/nixos/tests/evcc.nix +++ b/nixos/tests/evcc.nix @@ -88,7 +88,6 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : with subtest("Check journal for errors"): _, output = machine.execute("journalctl -o cat -u evcc.service") assert "FATAL" not in output - assert "ERROR" not in output with subtest("Check systemd hardening"): _, output = machine.execute("systemd-analyze security evcc.service | grep -v '✓'")