{ lib, buildGoModule, sources, }: buildGoModule { pname = "storagebox_exporter"; version = sources.prometheus-storagebox-exporter.version; src = sources.prometheus-storagebox-exporter; vendorHash = "sha256-3aBklYmPHELcLG+3sOEDd9qkrJyDrC52LfhOOY/6sOc="; meta = with lib; { description = "Modern Prometheus exporter for Hetzner Storage Box with comprehensive metrics"; mainProgram = "prometheus-storagebox-exporter"; homepage = "https://github.com/crstian19/prometheus-storagebox-exporter"; license = licenses.mit; }; postPatch = '' substituteInPlace go.mod --replace 'go 1.25.5' 'go 1.25.4' ''; }