3
0
Fork 0
forked from mirrors/nixpkgs

godns: init at 2.5

This commit is contained in:
Lin Yinfeng 2021-10-07 11:05:05 +08:00
parent fb559de7a7
commit bd47be3c86
No known key found for this signature in database
GPG key ID: 5FE6190217C55B26
2 changed files with 29 additions and 0 deletions

View 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 ];
};
}

View file

@ -933,6 +933,8 @@ with pkgs;
gofu = callPackage ../applications/misc/gofu { };
godns = callPackage ../tools/networking/godns { };
ksnip = libsForQt5.callPackage ../tools/misc/ksnip { };
linux-router = callPackage ../tools/networking/linux-router { };