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}";
|
2023-09-21 14:23:40 +00:00
|
|
|
hash = "sha256-tIB4yujZj36APGAe4doKF4YlEUnieeC8bTV+FFKxpJI=";
|
2017-07-31 08:44:31 +00:00
|
|
|
};
|
|
|
|
|
2023-09-21 14:23:40 +00:00
|
|
|
vendorHash = "sha256-urxzQU0bBS49mBg2jm6jHNZA3MTS3DlQY7D5Fa0F/Mk=";
|
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;
|
2023-10-24 11:09:45 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-07-31 08:44:31 +00:00
|
|
|
};
|
|
|
|
}
|