mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-28 15:54:32 +00:00
23 lines
609 B
Nix
23 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;
|
||
|
};
|
||
|
}
|