Merge pull request #140827 from linyinfeng/godns-init

godns: init at 2.5

authored by Bobby Rong and committed by GitHub 70088dc2 9a76986e

+35
+6
maintainers/maintainer-list.nix
··· 12245 12245 githubId = 4113027; 12246 12246 name = "Jesper Geertsen Jonsson"; 12247 12247 }; 12248 + yinfeng = { 12249 + email = "lin.yinfeng@outlook.com"; 12250 + github = "linyinfeng"; 12251 + githubId = 11229748; 12252 + name = "Lin Yinfeng"; 12253 + }; 12248 12254 ylwghst = { 12249 12255 email = "ylwghst@onionmail.info"; 12250 12256 github = "ylwghst";
+27
pkgs/tools/networking/godns/default.nix
··· 1 + { buildGoModule, fetchFromGitHub, lib }: 2 + 3 + buildGoModule rec { 4 + pname = "godns"; 5 + version = "2.5"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "TimothyYe"; 9 + repo = "godns"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-ia0FmV2KlFPh9gmKOqVxiStgmBbX9vUIc7KllpUt44Q="; 12 + }; 13 + 14 + vendorSha256 = "sha256-FZLDaMrPEyoTGFmGBlpqPWsMuobqwkBaot5qjcRJe9w="; 15 + 16 + # Some tests require internet access, broken in sandbox 17 + doCheck = false; 18 + 19 + ldflags = [ "-X main.Version=${version}" ]; 20 + 21 + meta = with lib; { 22 + description = "A dynamic DNS client tool supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc"; 23 + homepage = "https://github.com/TimothyYe/godns"; 24 + license = licenses.asl20; 25 + maintainers = with maintainers; [ yinfeng ]; 26 + }; 27 + }
+2
pkgs/top-level/all-packages.nix
··· 933 933 934 934 gofu = callPackage ../applications/misc/gofu { }; 935 935 936 + godns = callPackage ../tools/networking/godns { }; 937 + 936 938 ksnip = libsForQt5.callPackage ../tools/misc/ksnip { }; 937 939 938 940 linux-router = callPackage ../tools/networking/linux-router { };