b6f2ab0a42
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
26 lines
630 B
Nix
26 lines
630 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "nextdns";
|
|
version = "1.35.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nextdns";
|
|
repo = "nextdns";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-AWbUtzh1kJayhg/ssJUqUX4ywIV2Oy1BgTorhb+x3Vg=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-EEDRJj5Iaglk0Y86XL/U512OjipBNJzcAv8Tb09a0g0=";
|
|
|
|
doCheck = false;
|
|
|
|
buildFlagsArray = [ "-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 ];
|
|
};
|
|
}
|