nixpkgs-suyu/pkgs/applications/networking/nextdns/default.nix

27 lines
617 B
Nix
Raw Normal View History

2020-05-02 03:49:22 +02:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "nextdns";
2021-11-03 17:29:53 +01:00
version = "1.37.3";
2020-05-02 03:49:22 +02:00
src = fetchFromGitHub {
owner = "nextdns";
repo = "nextdns";
rev = "v${version}";
2021-11-03 17:29:53 +01:00
sha256 = "sha256-BCDVn4JaRYIexI7NrRDchUl9u4AEJa+An9ItYYJDs3A=";
2020-05-02 03:49:22 +02:00
};
2021-08-25 11:23:09 +02:00
vendorSha256 = "sha256-YZm+DUrH+1xdJrGjmlajbcsnqVODVbZKivVjmqZ2e48=";
2020-05-02 03:49:22 +02:00
doCheck = false;
2021-08-26 08:45:51 +02:00
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
2020-05-02 03:49:22 +02:00
meta = with lib; {
description = "NextDNS DNS/53 to DoH Proxy";
homepage = "https://nextdns.io";
license = licenses.mit;
maintainers = with maintainers; [ pnelson ];
};
}