a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
24 lines
595 B
Nix
24 lines
595 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "nextdns";
|
|
version = "1.39.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nextdns";
|
|
repo = "nextdns";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-7inMloKU/AL4s/p171xCzs4p4+AcLsvsbVsELK9vhFc=";
|
|
};
|
|
|
|
vendorHash = "sha256-pCta8FzGVpl9fvnnjQ7/e2x/HolXAuxnz0vwKejGk98=";
|
|
|
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
|
|
|
meta = with lib; {
|
|
description = "NextDNS DNS/53 to DoH Proxy";
|
|
homepage = "https://nextdns.io";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ pnelson ];
|
|
};
|
|
}
|