Merge pull request #140827 from linyinfeng/godns-init
godns: init at 2.5
This commit is contained in:
commit
70088dc299
@ -12245,6 +12245,12 @@
|
|||||||
githubId = 4113027;
|
githubId = 4113027;
|
||||||
name = "Jesper Geertsen Jonsson";
|
name = "Jesper Geertsen Jonsson";
|
||||||
};
|
};
|
||||||
|
yinfeng = {
|
||||||
|
email = "lin.yinfeng@outlook.com";
|
||||||
|
github = "linyinfeng";
|
||||||
|
githubId = 11229748;
|
||||||
|
name = "Lin Yinfeng";
|
||||||
|
};
|
||||||
ylwghst = {
|
ylwghst = {
|
||||||
email = "ylwghst@onionmail.info";
|
email = "ylwghst@onionmail.info";
|
||||||
github = "ylwghst";
|
github = "ylwghst";
|
||||||
|
27
pkgs/tools/networking/godns/default.nix
Normal file
27
pkgs/tools/networking/godns/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ buildGoModule, fetchFromGitHub, lib }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "godns";
|
||||||
|
version = "2.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "TimothyYe";
|
||||||
|
repo = "godns";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-ia0FmV2KlFPh9gmKOqVxiStgmBbX9vUIc7KllpUt44Q=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-FZLDaMrPEyoTGFmGBlpqPWsMuobqwkBaot5qjcRJe9w=";
|
||||||
|
|
||||||
|
# Some tests require internet access, broken in sandbox
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
ldflags = [ "-X main.Version=${version}" ];
|
||||||
|
|
||||||
|
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";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ yinfeng ];
|
||||||
|
};
|
||||||
|
}
|
@ -933,6 +933,8 @@ with pkgs;
|
|||||||
|
|
||||||
gofu = callPackage ../applications/misc/gofu { };
|
gofu = callPackage ../applications/misc/gofu { };
|
||||||
|
|
||||||
|
godns = callPackage ../tools/networking/godns { };
|
||||||
|
|
||||||
ksnip = libsForQt5.callPackage ../tools/misc/ksnip { };
|
ksnip = libsForQt5.callPackage ../tools/misc/ksnip { };
|
||||||
|
|
||||||
linux-router = callPackage ../tools/networking/linux-router { };
|
linux-router = callPackage ../tools/networking/linux-router { };
|
||||||
|
Loading…
Reference in New Issue
Block a user