nixpkgs/pkgs/tools/networking/dnscrypt-proxy/2.x/default.nix
2019-03-20 21:13:59 +11:00

25 lines
616 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "dnscrypt-proxy2-${version}";
version = "2.0.21";
goPackagePath = "github.com/jedisct1/dnscrypt-proxy";
src = fetchFromGitHub {
owner = "jedisct1";
repo = "dnscrypt-proxy";
rev = "${version}";
sha256 = "00sz5gn4l56rp4xcvxfpq6c64inpgzbwpqy1yc5sima6ijrayi9g";
};
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;
};
}