blob: 9877d7639bdce7304bae69b2bec9585adac1c3f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "nut-exporter";
version = "2.4.2";
src = fetchFromGitHub {
owner = "DRuggeri";
repo = "nut_exporter";
rev = "v${version}";
sha256 = "sha256-fymVx6FJGII2PmWXVfeCRTxfO+35bmyn/9iL0iPuBgo=";
};
vendorSha256 = "sha256-ji8JlEYChPBakt5y6+zcm1l04VzZ0/fjfGFJ9p+1KHE=";
meta = with lib; {
description = "Prometheus exporter for Network UPS Tools";
homepage = "https://github.com/DRuggeri/nut_exporter";
license = licenses.asl20;
maintainers = with maintainers; [ jhh ];
};
}
|