depot/third_party/nixpkgs/pkgs/tools/networking/dnsproxy/default.nix

25 lines
570 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "dnsproxy";
version = "0.33.3";
src = fetchFromGitHub {
owner = "AdguardTeam";
repo = pname;
rev = "v${version}";
sha256 = "0c7hqsb53711032svicr069gh7faacnsj2v36pj7srng266vk78p";
};
vendorSha256 = null;
doCheck = false;
meta = with stdenv.lib; {
description = "Simple DNS proxy with DoH, DoT, and DNSCrypt support";
homepage = "https://github.com/AdguardTeam/dnsproxy";
license = licenses.gpl3;
maintainers = with maintainers; [ contrun ];
};
}