2022-05-15 10:02:39 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-07-10 08:27:21 +00:00
|
|
|
|
2022-05-15 10:02:39 +00:00
|
|
|
buildGoModule rec {
|
2019-07-10 08:27:21 +00:00
|
|
|
pname = "zabbixctl";
|
2022-05-15 10:02:39 +00:00
|
|
|
version = "unstable-2021-05-25";
|
2019-07-10 08:27:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kovetskiy";
|
|
|
|
repo = pname;
|
2022-05-15 10:02:39 +00:00
|
|
|
rev = "872d73b12901b143898bffe3711b93a34ca75abe";
|
|
|
|
sha256 = "sha256-fWT3cgIHjHcKwFDjWIf3BUUUaVZ7hyc2ibkpU+AsW0I=";
|
2019-07-10 08:27:21 +00:00
|
|
|
};
|
|
|
|
|
2022-05-15 10:02:39 +00:00
|
|
|
vendorSha256 = "sha256-BphQcPPmeNU7RDtaHJQxIoW8xxD86xWgqLBsLR08Tag=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2019-07-10 08:27:21 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-07-10 08:27:21 +00:00
|
|
|
description = "Most effective way for operating in Zabbix Server";
|
|
|
|
homepage = "https://github.com/kovetskiy/zabbixctl";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mmahut ];
|
|
|
|
};
|
|
|
|
}
|