blob: 366ed9408ef2c7918cdeac2f1e4c66b2f5eb1fa2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "nextdns";
version = "1.9.6";
src = fetchFromGitHub {
owner = "nextdns";
repo = "nextdns";
rev = "v${version}";
sha256 = "sha256-TIXckwesu6BTPr3GBRTgegLplwTKHtmjv3yl1c0nvbY=";
};
vendorSha256 = "sha256-kmszMqkDMaL+Z6GcZmQyeRShKKS/VGdn9vabYPW/kCc=";
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 ];
};
}
|