about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/zabbixctl/default.nix
blob: 3b25d479388e2fb372026ca81b1d0138a69bf64c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "zabbixctl";
  version = "unstable-2021-05-25";

  src = fetchFromGitHub {
    owner = "kovetskiy";
    repo = pname;
    rev = "872d73b12901b143898bffe3711b93a34ca75abe";
    sha256 = "sha256-fWT3cgIHjHcKwFDjWIf3BUUUaVZ7hyc2ibkpU+AsW0I=";
  };

  vendorSha256 = "sha256-BphQcPPmeNU7RDtaHJQxIoW8xxD86xWgqLBsLR08Tag=";

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Most effective way for operating in Zabbix Server";
    homepage = "https://github.com/kovetskiy/zabbixctl";
    license = licenses.mit;
    maintainers = with maintainers; [ mmahut ];
  };
}