@@ -0,0 +1,24 @@
1+{ stdenv, buildGoPackage, fetchFromGitHub }:
2+
3+buildGoPackage rec {
4+ name = "dnscrypt-proxy2-${version}";
5+ version = "2.0.15";
6+
7+ goPackagePath = "github.com/jedisct1/dnscrypt-proxy";
8+
9+ src = fetchFromGitHub {
10+ owner = "jedisct1";
11+ repo = "dnscrypt-proxy";
12+ rev = "${version}";
13+ sha256 = "0iwvndk1h550zmwhwablb0smv9n2l51hqbmzj354mcgi6frnx819";
14+ };
15+
16+ meta = with stdenv.lib; {
17+ description = "A tool that provides secure DNS resolution.";
18+
19+ license = licenses.isc;
20+ homepage = https://dnscrypt.info/;
21+ maintainers = with maintainers; [ waynr ];
22+ platforms = with platforms; unix;
23+ };
24+}