2021-05-11 07:10:09 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2017-07-31 10:44:31 +02:00
|
|
|
|
2021-05-11 07:10:09 +02:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "openvpn_exporter-unstable";
|
2021-05-11 07:10:09 +02:00
|
|
|
version = "0.3.0";
|
2017-07-31 10:44:31 +02:00
|
|
|
|
2017-08-04 01:59:54 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kumina";
|
|
|
|
repo = "openvpn_exporter";
|
2021-05-11 07:10:09 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "14m4n5918zimdnyf0yg2948jb1hp1bdf27k07j07x3yrx357i05l";
|
2017-07-31 10:44:31 +02:00
|
|
|
};
|
|
|
|
|
2021-05-11 07:10:09 +02:00
|
|
|
vendorSha256 = "1jgw0nnibydhcd83kp6jqkf41mhwldp8wdhqk0yjw18v9m0p7g5s";
|
2017-07-31 10:44:31 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-07-31 10:44:31 +02:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Prometheus exporter for OpenVPN";
|
2021-08-25 18:05:22 +02:00
|
|
|
broken = true;
|
2017-07-31 10:44:31 +02:00
|
|
|
license = licenses.asl20;
|
2022-08-03 14:13:56 +02:00
|
|
|
maintainers = with maintainers; [ globin ];
|
2017-07-31 10:44:31 +02:00
|
|
|
};
|
|
|
|
}
|