depot/pkgs/servers/monitoring/nagios-plugins/check_openvpn/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

27 lines
564 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 = {
description = "Nagios/icinga/sensu check plugin for OpenVPN";
license = lib.licenses.mit;
mainProgram = "check_openvpn";
maintainers = with lib.maintainers; [ peterhoeg ];
};
}