3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/nextdns/default.nix

27 lines
617 B
Nix
Raw Normal View History

2020-05-02 02:49:22 +01:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "nextdns";
2021-11-03 16:29:53 +00:00
version = "1.37.3";
2020-05-02 02:49:22 +01:00
src = fetchFromGitHub {
owner = "nextdns";
repo = "nextdns";
rev = "v${version}";
2021-11-03 16:29:53 +00:00
sha256 = "sha256-BCDVn4JaRYIexI7NrRDchUl9u4AEJa+An9ItYYJDs3A=";
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
doCheck = false;
2021-08-26 07:45:51 +01:00
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
2020-05-02 02:49:22 +01:00
meta = with lib; {
description = "NextDNS DNS/53 to DoH Proxy";
homepage = "https://nextdns.io";
license = licenses.mit;
maintainers = with maintainers; [ pnelson ];
};
}