mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
gs1200-exporter: 2.11.13 -> 2.11.15 (#573970)
This commit is contained in:
@@ -6,21 +6,22 @@
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "gs1200-exporter";
|
||||
version = "2.11.13";
|
||||
version = "2.11.15";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "robinelfrink";
|
||||
repo = "gs1200-exporter";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-s+CdJBa9k4DBYBiwEAtWJz1r6DvDQtZR+dEB3FBSu3g=";
|
||||
hash = "sha256-ms4MtY9HzbtPgDtq2cEOsm9s4yrQT57H+/XtRM1fcKc=";
|
||||
};
|
||||
vendorHash = "sha256-R8is2TM2npCY1eOTRsL1spTJWf/KiBqHpjr4EjraLeU=";
|
||||
postPatch = ''
|
||||
substituteInPlace go.mod --replace-fail "go 1.26.4" "go 1.26.3"
|
||||
'';
|
||||
|
||||
vendorHash = "sha256-fsDqMM0qV2NFWQ0Ims+6ZXL0TJoOFtBUCMnMK0oFtcs=";
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) gs1200-exporter;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Prometheus exporter for Zyxel GS1200 switches";
|
||||
homepage = "https://github.com/robinelfrink/gs1200-exporter";
|
||||
|
||||
Reference in New Issue
Block a user