5d26766cbf
Added homepage where missing, where the sources are pulled from: - https://github.com - https://git.sr.ht - https://gitlab.com - https://invent.kde.org - https://codeberg.org - https://gitlab.gnome.org - https://gitlab.freedesktop.org - https://git.FreeBSD.org - https://salsa.debian.org - https://git.tvdr.de - https://git.suckless.org
30 lines
657 B
Nix
30 lines
657 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3Packages,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "check-openvpn";
|
|
version = "0.0.1";
|
|
format = "setuptools";
|
|
|
|
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";
|
|
homepage = "https://github.com/liquidat/nagios-icinga-openvpn";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "check_openvpn";
|
|
maintainers = with lib.maintainers; [ peterhoeg ];
|
|
};
|
|
}
|