forked from mirrors/nixpkgs
Merge pull request #172448 from linyinfeng/godns
godns: 2.7.6 -> 2.7.7 and add update script
This commit is contained in:
commit
c901dce313
|
@ -1,14 +1,14 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
{ buildGoModule, fetchFromGitHub, lib, nix-update-script }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "godns";
|
||||
version = "2.7.6";
|
||||
version = "2.7.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TimothyYe";
|
||||
repo = "godns";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-w0hHl7QOpIOINRbCrocZM68b44h+IwkHmXTDnVfT0o0=";
|
||||
sha256 = "sha256-55A1dxVRIngfS43V+iM1RX2U6eQyPsIAHgyxKGO4yrY=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-vhByl9oJjFIvOskAgLubZ5RCcitKd2jjxi8D9nU6850=";
|
||||
|
@ -18,6 +18,8 @@ buildGoModule rec {
|
|||
|
||||
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { attrPath = pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "A dynamic DNS client tool supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc";
|
||||
homepage = "https://github.com/TimothyYe/godns";
|
||||
|
|
Loading…
Reference in a new issue