nixpkgs/pkgs/tools/networking/dnscrypt-proxy2/default.nix

25 lines
607 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "dnscrypt-proxy2";
version = "2.0.39";
goPackagePath = "github.com/jedisct1/dnscrypt-proxy";
src = fetchFromGitHub {
owner = "jedisct1";
repo = "dnscrypt-proxy";
rev = version;
sha256 = "0fvnp2brmqkwn04v01k53f9djk9ywa1cg26m2frhv4lj0581430y";
};
meta = with stdenv.lib; {
description = "A tool that provides secure DNS resolution";
license = licenses.isc;
homepage = https://dnscrypt.info/;
maintainers = with maintainers; [ atemu waynr ];
platforms = with platforms; unix;
};
}