nixpkgs/pkgs/tools/networking/dnscrypt-proxy2/default.nix
2022-08-02 11:23:34 +00:00

28 lines
618 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "dnscrypt-proxy2";
version = "2.1.2";
vendorSha256 = null;
doCheck = false;
src = fetchFromGitHub {
owner = "DNSCrypt";
repo = "dnscrypt-proxy";
rev = version;
sha256 = "sha256-vFUbsgLgwQGb/2rValFRuZXguxyAJzOBMLnbVs0swes=";
};
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;
};
}