about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMoraxyc <i@qaq.li>2024-06-23 22:59:12 +0800
committerMoraxyc <i@qaq.li>2024-06-28 16:18:40 +0800
commit76ff8beba86edff99708a2b6a2717cf628c966dc (patch)
tree101e08fd97245f6ddf4c265d8b4369adb4af72b8
parent5f24895313965092dbd4a622b85d1986f01e2138 (diff)
nezha-agent: 0.17.0 -> 0.17.2
-rw-r--r--pkgs/by-name/ne/nezha-agent/package.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/by-name/ne/nezha-agent/package.nix b/pkgs/by-name/ne/nezha-agent/package.nix
index 247e78e802f59..f96b06f2e9278 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 ];
   };
 }