1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "dnscrypt-proxy";
5 version = "2.1.5";
6
7 vendorHash = null;
8
9 doCheck = false;
10
11 src = fetchFromGitHub {
12 owner = "DNSCrypt";
13 repo = "dnscrypt-proxy";
14 rev = version;
15 sha256 = "sha256-A9Cu4wcJxrptd9CpgXw4eyMX2nmNAogYBRDeeAjpEZY=";
16 };
17
18 meta = with lib; {
19 description = "A tool that provides secure DNS resolution";
20
21 license = licenses.isc;
22 homepage = "https://dnscrypt.info/";
23 maintainers = with maintainers; [ atemu waynr ];
24 mainProgram = "dnscrypt-proxy";
25 platforms = with platforms; unix;
26 };
27}