depot/third_party/nixpkgs/pkgs/servers/monitoring/plugins/openvpn.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

23 lines
561 B
Nix

{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "check-openvpn";
version = "0.0.1";
src = fetchFromGitHub {
owner = "liquidat";
repo = "nagios-icinga-openvpn";
rev = version;
sha256 = "1vz3p7nckc5k5f06nm1xfzpykhyndh2dzyagmifrzg5k478p1lpm";
};
# no tests
doCheck = false;
meta = with lib; {
description = "A nagios/icinga/sensu check plugin for OpenVPN";
mainProgram = "check_openvpn";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}