38 lines
711 B
Nix
38 lines
711 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
buildGoModule,
|
||
|
|
fetchFromGitHub,
|
||
|
|
nixosTests,
|
||
|
|
}:
|
||
|
|
|
||
|
|
buildGoModule rec {
|
||
|
|
pname = "dnscrypt-proxy";
|
||
|
|
version = "2.1.14";
|
||
|
|
|
||
|
|
vendorHash = null;
|
||
|
|
|
||
|
|
doCheck = false;
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "DNSCrypt";
|
||
|
|
repo = "dnscrypt-proxy";
|
||
|
|
rev = version;
|
||
|
|
hash = "sha256-JPBAlRpJw6Oy4f3twyhX95XqWFtUTEFPjwyVaNMSHmQ=";
|
||
|
|
};
|
||
|
|
|
||
|
|
passthru.tests = { inherit (nixosTests) dnscrypt-proxy; };
|
||
|
|
|
||
|
|
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;
|
||
|
|
};
|
||
|
|
}
|