diff options
author | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2019-12-29 12:00:00 +0000 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-01-03 15:48:42 -0800 |
commit | b40fc3a56b51a00e91e016f74e68b5614789ac80 (patch) | |
tree | d255931686e147a92c3346eb11c51987df9cf70e /pkgs/servers | |
parent | dd478ddc36f60600d380c31705558ab7e8f36aae (diff) |
pynagsystemd: init at 1.2.0
Co-Authored-By: Jon <jonringer@users.noreply.github.com>
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/monitoring/nagios/plugins/pynagsystemd.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/nagios/plugins/pynagsystemd.nix b/pkgs/servers/monitoring/nagios/plugins/pynagsystemd.nix new file mode 100644 index 0000000000000..62f6bc96a523f --- /dev/null +++ b/pkgs/servers/monitoring/nagios/plugins/pynagsystemd.nix @@ -0,0 +1,22 @@ +{ 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; + }; +} |