nixpkgs-suyu/pkgs/tools/networking/dnscrypt-proxy2/default.nix
2022-04-14 10:24:01 -07:00

27 lines
618 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "dnscrypt-proxy2";
version = "2.1.1";
vendorSha256 = null;
doCheck = false;
src = fetchFromGitHub {
owner = "DNSCrypt";
repo = "dnscrypt-proxy";
rev = version;
sha256 = "sha256-BtH/h2HejXDWSoqWRTjZXMLYDRoMe8lSUDX6Gay1gA8=";
};
meta = with lib; {
description = "A tool that provides secure DNS resolution";
license = licenses.isc;
homepage = "https://dnscrypt.info/";
maintainers = with maintainers; [ atemu waynr ];
mainProgram = "dnscrypt-proxy";
platforms = with platforms; unix;
};
}