Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: evcc 0.301.1 -> 0.301.2 https://github.com/evcc-io/evcc/releases attrpath: evcc Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] skipping because derivation has updateScript [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/124lm5id6s5ln6i910s13hzc0rxm2zbm-packages.json.drv building '/nix/store/124lm5id6s5ln6i910s13hzc0rxm2zbm-packages.json.drv'... Going to be running update for following packages: - evcc-0.301.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - evcc-0.301.1: UPDATING ... - evcc-0.301.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/ev/evcc/package.nix b/pkgs/by-name/ev/evcc/package.nix index 2a791d14b063..15d503b9e69d 100644 --- a/pkgs/by-name/ev/evcc/package.nix +++ b/pkgs/by-name/ev/evcc/package.nix @@ -17,16 +17,16 @@ }: let - version = "0.301.1"; + version = "0.301.2"; src = fetchFromGitHub { owner = "evcc-io"; repo = "evcc"; tag = version; - hash = "sha256-qs4jtqOn2Kjj6dL5qGBI5jQyt/VeZYGexYNtgV2mnCs="; + hash = "sha256-14qIWgHLQCz+d0PlIavw4F7XEWpx9jJL43XbCpZb4XA="; }; - vendorHash = "sha256-Wxu535IGvHD09/ZIn+Ky9pwsysi788+HN4WIsETMdyc="; + vendorHash = "sha256-t70o3VWfypvWOLMCqC4I8GXywzrDgNKUi5yAaB0NdZw="; commonMeta = { license = lib.licenses.mit; @@ -52,7 +52,7 @@ buildGo126Module rec { npmDeps = fetchNpmDeps { inherit src; - hash = "sha256-fblf49V+fn+9iuIwwOZ/iYMxUbjtWcm3iEs9mP9l59I="; + hash = "sha256-lHbFy2iddAitNz9qxAnhKrhFKPn/w9yeyuNqaBCALEk="; }; nativeBuildInputs = [ No auto update branch exists Old version 0.301.1" not present in master derivation file with contents: { lib, stdenv, buildGo126Module, fetchFromGitHub, fetchNpmDeps, cacert, git, go_1_26, gokrazy, enumer, mockgen, nodejs, npmHooks, nix-update-script, nixosTests, }: let version = "0.301.2"; src = fetchFromGitHub { owner = "evcc-io"; repo = "evcc"; tag = version; hash = "sha256-14qIWgHLQCz+d0PlIavw4F7XEWpx9jJL43XbCpZb4XA="; }; vendorHash = "sha256-t70o3VWfypvWOLMCqC4I8GXywzrDgNKUi5yAaB0NdZw="; 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 { pname = "evcc"; inherit version src vendorHash; npmDeps = fetchNpmDeps { inherit src; hash = "sha256-lHbFy2iddAitNz9qxAnhKrhFKPn/w9yeyuNqaBCALEk="; }; nativeBuildInputs = [ nodejs npmHooks.npmConfigHook ]; overrideModAttrs = _: { nativeBuildInputs = [ decorate enumer go_1_26 gokrazy git cacert mockgen ]; preBuild = '' GOFLAGS="-mod=mod" make assets ''; }; tags = [ "release" "test" ]; ldflags = [ "-X github.com/evcc-io/evcc/util.Version=${version}" "-s" "-w" ]; preBuild = '' make ui ''; doCheck = !stdenv.hostPlatform.isDarwin; # darwin sandbox limitations around network access, access to /etc/protocols and likely more checkFlags = let skippedTests = [ # network access "TestOctopusConfigParse" "TestTemplates" "TestOcpp" ]; in [ "-skip=^${lib.concatStringsSep "$|^" skippedTests}$" ]; passthru = { inherit decorate; tests = { inherit (nixosTests) evcc; }; updateScript = nix-update-script { }; }; meta = commonMeta // { description = "EV Charge Controller"; homepage = "https://evcc.io"; changelog = "https://github.com/evcc-io/evcc/releases/tag/${version}"; mainProgram = "evcc"; }; }