38 lines
712 B
Nix
38 lines
712 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nixosTests,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dnscrypt-proxy";
|
|
version = "2.1.13";
|
|
|
|
vendorHash = null;
|
|
|
|
doCheck = false;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DNSCrypt";
|
|
repo = "dnscrypt-proxy";
|
|
rev = version;
|
|
hash = "sha256-IFfhcirUGbp/pKFN/5aEpuIuhSR3ZS4K7TatBtaX5zg=";
|
|
};
|
|
|
|
passthru.tests = { inherit (nixosTests) dnscrypt-proxy2; };
|
|
|
|
meta = with lib; {
|
|
description = "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;
|
|
};
|
|
}
|