lol

Merge pull request #172448 from linyinfeng/godns

godns: 2.7.6 -> 2.7.7 and add update script

authored by

Artturi and committed by
GitHub
c901dce3 61200e1f

+5 -3
+5 -3
pkgs/tools/networking/godns/default.nix
··· 1 - { buildGoModule, fetchFromGitHub, lib }: 1 + { buildGoModule, fetchFromGitHub, lib, nix-update-script }: 2 2 3 3 buildGoModule rec { 4 4 pname = "godns"; 5 - version = "2.7.6"; 5 + version = "2.7.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "TimothyYe"; 9 9 repo = "godns"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-w0hHl7QOpIOINRbCrocZM68b44h+IwkHmXTDnVfT0o0="; 11 + sha256 = "sha256-55A1dxVRIngfS43V+iM1RX2U6eQyPsIAHgyxKGO4yrY="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-vhByl9oJjFIvOskAgLubZ5RCcitKd2jjxi8D9nU6850="; ··· 17 17 doCheck = false; 18 18 19 19 ldflags = [ "-s" "-w" "-X main.Version=${version}" ]; 20 + 21 + passthru.updateScript = nix-update-script { attrPath = pname; }; 20 22 21 23 meta = with lib; { 22 24 description = "A dynamic DNS client tool supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc";