27 lines
618 B
Nix
27 lines
618 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dnscrypt-proxy2";
|
|
version = "2.1.4";
|
|
|
|
vendorSha256 = null;
|
|
|
|
doCheck = false;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DNSCrypt";
|
|
repo = "dnscrypt-proxy";
|
|
rev = version;
|
|
sha256 = "sha256-98DeCrDp0TmPCSvOrJ7KgIQZBR2K1fFJrmNccZ7nSug=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|