diff options
author | Philip Nelson <me@pnelson.ca> | 2020-05-01 18:49:22 -0700 |
---|---|---|
committer | Philip Nelson <me@pnelson.ca> | 2020-06-24 18:32:54 -0700 |
commit | cf70c86d072cab7b7cc5da2d023a58b12ccb9854 (patch) | |
tree | a15099d2658e783ff0ee97512095090cf0440c2f /pkgs/applications/networking/nextdns | |
parent | 8531aee99f4907bd255545eb94468e52a79a44f1 (diff) |
nextdns: init at 1.7.0
1.7.0
Diffstat (limited to 'pkgs/applications/networking/nextdns')
-rw-r--r-- | pkgs/applications/networking/nextdns/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/networking/nextdns/default.nix b/pkgs/applications/networking/nextdns/default.nix new file mode 100644 index 0000000000000..40ca27c70b030 --- /dev/null +++ b/pkgs/applications/networking/nextdns/default.nix @@ -0,0 +1,24 @@ +{ buildGoModule, fetchFromGitHub, lib }: + +buildGoModule rec { + pname = "nextdns"; + version = "1.7.0"; + + src = fetchFromGitHub { + owner = "nextdns"; + repo = "nextdns"; + rev = "v${version}"; + sha256 = "15xw8d6b9rv0lalzfllixm8n89clz9j8ag1gk4r16k7yv5l6xrpd"; + }; + + vendorSha256 = "09whpzsn16znyrknfm5zlhla253r69j6d751czza4c83m4r36swj"; + + 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 ]; + }; +} |