nixpkgs-suyu/pkgs/servers/monitoring/nagios/plugins/pynagsystemd.nix
Symphorien Gibol b40fc3a56b pynagsystemd: init at 1.2.0
Co-Authored-By: Jon <jonringer@users.noreply.github.com>
2020-01-03 15:48:42 -08:00

22 lines
609 B
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;
};
}