diff options
Diffstat (limited to 'pkgs/tools/networking/dnscrypt-proxy2/default.nix')
-rw-r--r-- | pkgs/tools/networking/dnscrypt-proxy2/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/networking/dnscrypt-proxy2/default.nix b/pkgs/tools/networking/dnscrypt-proxy2/default.nix new file mode 100644 index 0000000000000..5c5cb7333ddcb --- /dev/null +++ b/pkgs/tools/networking/dnscrypt-proxy2/default.nix @@ -0,0 +1,24 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + pname = "dnscrypt-proxy2"; + version = "2.0.36"; + + goPackagePath = "github.com/jedisct1/dnscrypt-proxy"; + + src = fetchFromGitHub { + owner = "jedisct1"; + repo = "dnscrypt-proxy"; + rev = version; + sha256 = "05pk0fl4cyh69lfssvx9prd2gg0akw1l14b4q76zfhh9vc47z6x1"; + }; + + meta = with stdenv.lib; { + description = "A tool that provides secure DNS resolution"; + + license = licenses.isc; + homepage = https://dnscrypt.info/; + maintainers = with maintainers; [ waynr ]; + platforms = with platforms; unix; + }; +} |