2020-03-27 07:33:21 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoModule }:
|
2019-11-18 02:38:12 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "dnsproxy";
|
2020-04-01 11:44:24 +01:00
|
|
|
version = "0.24.0";
|
2019-11-18 02:38:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AdguardTeam";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-04-01 11:44:24 +01:00
|
|
|
sha256 = "1jwy2qi99ks6zcas6h1n0zq3b0k47036ayas0mprdips60azw0hg";
|
2019-11-18 02:38:12 +00:00
|
|
|
};
|
|
|
|
|
2020-04-01 11:44:24 +01:00
|
|
|
modSha256 = "0kba3jay6m9ir1pc7i833p7ylbs610g0lkp8kc3gm47xnxy7j4gz";
|
2019-11-18 02:38:12 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|