mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
27 lines
617 B
Nix
27 lines
617 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "nextdns";
|
|
version = "1.37.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nextdns";
|
|
repo = "nextdns";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-BCDVn4JaRYIexI7NrRDchUl9u4AEJa+An9ItYYJDs3A=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-YZm+DUrH+1xdJrGjmlajbcsnqVODVbZKivVjmqZ2e48=";
|
|
|
|
doCheck = false;
|
|
|
|
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 ];
|
|
};
|
|
}
|