blob: d4fd13e9074721312ee9b92f77b4808587dff327 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{
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'
'';
}
|