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

27 lines
583 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "dnscrypt-proxy2";
version = "2.0.45";
vendorSha256 = null;
doCheck = false;
src = fetchFromGitHub {
owner = "DNSCrypt";
repo = "dnscrypt-proxy";
rev = version;
sha256 = "sha256-BvCxrFMRWPVVjK2sDlVbJKC/YK/bi4lBquIsdwOFXkw=";
};
meta = with 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;
};
}