My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/applications/networking/nextdns/default.nix

24 lines
598 B

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "nextdns";
version = "1.37.11";
src = fetchFromGitHub {
owner = "nextdns";
repo = "nextdns";
rev = "v${version}";
sha256 = "sha256-BOmu4OjDq1IwsPjbqzV2OtvKpaYFqP/XdYL2Ug28TbU=";
};
vendorSha256 = "sha256-M2PlvUsEG3Um+NqbpHdtu9g+Gj6jSXZ9YZ7t1MwjjdI=";
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 ];
};
}