2017-08-04 01:59:54 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2017-07-31 10:44:31 +02:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "openvpn_exporter-unstable";
|
2017-07-31 10:44:31 +02:00
|
|
|
version = "2017-05-15";
|
|
|
|
rev = "a2a179a222144fa9a10030367045f075375a2803";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/kumina/openvpn_exporter";
|
|
|
|
|
2017-08-04 01:59:54 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kumina";
|
|
|
|
repo = "openvpn_exporter";
|
2017-07-31 10:44:31 +02:00
|
|
|
inherit rev;
|
|
|
|
sha256 = "1cjx7ascf532a20wwzrsx3qqs6dr04jyf700s3jvlvhhhx43l8m4";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./openvpn-exporter-deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Prometheus exporter for OpenVPN";
|
|
|
|
license = licenses.asl20;
|
2019-08-20 19:36:05 +02:00
|
|
|
maintainers = with maintainers; [ fpletz globin ];
|
2017-07-31 10:44:31 +02:00
|
|
|
};
|
|
|
|
}
|