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