2020-05-02 02:49:22 +01:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nextdns";
|
2021-08-25 10:23:09 +01:00
|
|
|
version = "1.36.0";
|
2020-05-02 02:49:22 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nextdns";
|
|
|
|
repo = "nextdns";
|
|
|
|
rev = "v${version}";
|
2021-08-25 10:23:09 +01:00
|
|
|
sha256 = "sha256-aYWnopMRN0CDFpiWymhFT+f7vbKaP2HpjekVIr2rsME=";
|
2020-05-02 02:49:22 +01:00
|
|
|
};
|
|
|
|
|
2021-08-25 10:23:09 +01:00
|
|
|
vendorSha256 = "sha256-YZm+DUrH+1xdJrGjmlajbcsnqVODVbZKivVjmqZ2e48=";
|
2020-05-02 02:49:22 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-05-02 02:49:22 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|