mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
26 lines
650 B
Nix
26 lines
650 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "openvpn_exporter-unstable";
|
|
version = "2017-05-15";
|
|
rev = "a2a179a222144fa9a10030367045f075375a2803";
|
|
|
|
goPackagePath = "github.com/kumina/openvpn_exporter";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kumina";
|
|
repo = "openvpn_exporter";
|
|
inherit rev;
|
|
sha256 = "1cjx7ascf532a20wwzrsx3qqs6dr04jyf700s3jvlvhhhx43l8m4";
|
|
};
|
|
|
|
goDeps = ./openvpn-exporter-deps.nix;
|
|
|
|
meta = with lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "Prometheus exporter for OpenVPN";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fpletz globin ];
|
|
};
|
|
}
|