2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
buildGoModule rec {
|
2023-10-09 19:29:22 +00:00
|
|
|
pname = "dnscrypt-proxy";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "2.1.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = null;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
2020-06-18 07:06:33 +00:00
|
|
|
owner = "DNSCrypt";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "dnscrypt-proxy";
|
|
|
|
rev = version;
|
2023-08-22 20:05:09 +00:00
|
|
|
sha256 = "sha256-A9Cu4wcJxrptd9CpgXw4eyMX2nmNAogYBRDeeAjpEZY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A tool that provides secure DNS resolution";
|
|
|
|
|
|
|
|
license = licenses.isc;
|
|
|
|
homepage = "https://dnscrypt.info/";
|
|
|
|
maintainers = with maintainers; [ atemu waynr ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "dnscrypt-proxy";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|