@@ -0,0 +1,23 @@
1+{ stdenv, fetchFromGitHub, buildGoModule }:
2+
3+buildGoModule rec {
4+ pname = "dnsproxy";
5+ version = "0.20.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "AdguardTeam";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "0yd3d90ssdzpbsdq068dvsi0r1z2rlv3wpbmpkhfgpxmwrvdanrq";
12+ };
13+
14+ modSha256 = "0cqwkmhajp3py3b5aj3qz9480qy2ws0vy1gk21bxjm56wqxl2gf0";
15+
16+ meta = with stdenv.lib; {
17+ description = "Simple DNS proxy with DoH, DoT, and DNSCrypt support";
18+ homepage = "https://github.com/AdguardTeam/dnsproxy";
19+ license = licenses.gpl3;
20+ maintainers = with maintainers; [ contrun ];
21+ platforms = platforms.all;
22+ };
23+}