diff --git a/pkgs/by-name/ne/nezha-agent/package.nix b/pkgs/by-name/ne/nezha-agent/package.nix index 247e78e802f5..f96b06f2e927 100644 --- a/pkgs/by-name/ne/nezha-agent/package.nix +++ b/pkgs/by-name/ne/nezha-agent/package.nix @@ -7,16 +7,16 @@ }: buildGoModule rec { pname = "nezha-agent"; - version = "0.17.0"; + version = "0.17.2"; src = fetchFromGitHub { owner = "nezhahq"; repo = "agent"; - rev = "v${version}"; - hash = "sha256-xCoCmWdliw7zSxLv8IJl2F03TPMS3dRC40JH1XBirTI="; + rev = "refs/tags/v${version}"; + hash = "sha256-PUBomSo11URCCJB/qFeSHSS3pw/vvcgDBo9Kc0lJQLE="; }; - vendorHash = "sha256-V5ykn/0vXSrCtCX4EEoThXMKE6EVTjc9zXt89G+34N8="; + vendorHash = "sha256-wVZWP8yvazxs8sG47MTOlWzKwjsZO/b7PN987fwWEaY="; ldflags = [ "-s" @@ -36,10 +36,10 @@ buildGoModule rec { }; }; - meta = with lib; { + meta = { description = "Agent of Nezha Monitoring"; homepage = "https://github.com/nezhahq/agent"; - license = licenses.asl20; - maintainers = with maintainers; [ moraxyc ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ moraxyc ]; }; }