pynagsystemd: init at 1.2.0

Co-Authored-By: Jon <jonringer@users.noreply.github.com>

Changed files
+25 -2
pkgs
development
python-modules
nagiosplugin
servers
monitoring
nagios
top-level
+1 -2
pkgs/development/python-modules/nagiosplugin/default.nix
···
sha256 = "1vr3zy0zfvbrqc4nf81zxv4gs2q82sv5sjamdm4573ld529mk2nv";
};
-
buildInputs = [ twine ];
checkInputs = [ pytest numpy ];
-
doCheck = true;
checkPhase = ''
# this test relies on who, which does not work in the sandbox
pytest -k "not test_check_users" tests/
···
sha256 = "1vr3zy0zfvbrqc4nf81zxv4gs2q82sv5sjamdm4573ld529mk2nv";
};
+
nativeBuildInputs = [ twine ];
checkInputs = [ pytest numpy ];
checkPhase = ''
# this test relies on who, which does not work in the sandbox
pytest -k "not test_check_users" tests/
+22
pkgs/servers/monitoring/nagios/plugins/pynagsystemd.nix
···
···
+
{ fetchFromGitHub, python3Packages, lib }:
+
+
python3Packages.buildPythonApplication rec {
+
pname = "pynagsystemd";
+
version = "1.2.0";
+
+
src = fetchFromGitHub {
+
owner = "kbytesys";
+
repo = pname;
+
rev = "v${version}";
+
sha256 = "1xjhkhdpmqa7ngcpcfhrkmj4cid2wla3fzgr04wvw672ysffv2vz";
+
};
+
+
propagatedBuildInputs = with python3Packages; [ nagiosplugin ];
+
+
meta = with lib; {
+
description = "Simple and easy nagios check for systemd status";
+
homepage = "https://github.com/kbytesys/pynagsystemd";
+
maintainers = with maintainers; [ symphorien ];
+
license = licenses.gpl2;
+
};
+
}
+2
pkgs/top-level/all-packages.nix
···
checkSSLCert = callPackage ../servers/monitoring/nagios/plugins/check_ssl_cert.nix { };
neo4j = callPackage ../servers/nosql/neo4j { };
check-esxi-hardware = callPackage ../servers/monitoring/plugins/esxi.nix {};
···
checkSSLCert = callPackage ../servers/monitoring/nagios/plugins/check_ssl_cert.nix { };
+
pynagsystemd = callPackage ../servers/monitoring/nagios/plugins/pynagsystemd.nix { };
+
neo4j = callPackage ../servers/nosql/neo4j { };
check-esxi-hardware = callPackage ../servers/monitoring/plugins/esxi.nix {};