2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-07-10 12:31:08 -05:00
|
|
|
|
2020-06-09 20:28:38 +10:00
|
|
|
buildGoModule rec {
|
2023-08-12 14:15:44 +02:00
|
|
|
pname = "dnscrypt-proxy";
|
2023-08-12 09:25:08 +02:00
|
|
|
version = "2.1.5";
|
2018-07-10 12:31:08 -05:00
|
|
|
|
2023-09-22 01:11:11 +08:00
|
|
|
vendorHash = null;
|
2018-07-10 12:31:08 -05:00
|
|
|
|
2020-08-04 10:26:27 +10:00
|
|
|
doCheck = false;
|
|
|
|
|
|
2018-07-10 12:31:08 -05:00
|
|
|
src = fetchFromGitHub {
|
2020-06-09 20:28:38 +10:00
|
|
|
owner = "DNSCrypt";
|
2018-07-10 12:31:08 -05:00
|
|
|
repo = "dnscrypt-proxy";
|
2019-04-04 20:49:31 -04:00
|
|
|
rev = version;
|
2023-08-12 09:25:08 +02:00
|
|
|
sha256 = "sha256-A9Cu4wcJxrptd9CpgXw4eyMX2nmNAogYBRDeeAjpEZY=";
|
2018-07-10 12:31:08 -05:00
|
|
|
};
|
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-07-10 19:44:34 +02:00
|
|
|
description = "A tool that provides secure DNS resolution";
|
2018-07-10 12:31:08 -05:00
|
|
|
|
|
|
|
|
license = licenses.isc;
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://dnscrypt.info/";
|
2020-02-07 14:35:53 +01:00
|
|
|
maintainers = with maintainers; [ atemu waynr ];
|
2022-04-01 12:34:55 -07:00
|
|
|
mainProgram = "dnscrypt-proxy";
|
2018-07-10 12:31:08 -05:00
|
|
|
platforms = with platforms; unix;
|
|
|
|
|
};
|
|
|
|
|
}
|