159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
29 lines
688 B
Nix
29 lines
688 B
Nix
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dnscrypt-proxy";
|
|
version = "2.1.5";
|
|
|
|
vendorHash = null;
|
|
|
|
doCheck = false;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DNSCrypt";
|
|
repo = "dnscrypt-proxy";
|
|
rev = version;
|
|
sha256 = "sha256-A9Cu4wcJxrptd9CpgXw4eyMX2nmNAogYBRDeeAjpEZY=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|