2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-07-10 18:31:08 +01:00
|
|
|
|
2020-06-09 11:28:38 +01:00
|
|
|
buildGoModule rec {
|
2019-06-07 02:23:35 +01:00
|
|
|
pname = "dnscrypt-proxy2";
|
2021-08-15 04:26:21 +01:00
|
|
|
version = "2.1.0";
|
2018-07-10 18:31:08 +01:00
|
|
|
|
2020-06-09 11:28:38 +01:00
|
|
|
vendorSha256 = null;
|
2018-07-10 18:31:08 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2018-07-10 18:31:08 +01:00
|
|
|
src = fetchFromGitHub {
|
2020-06-09 11:28:38 +01:00
|
|
|
owner = "DNSCrypt";
|
2018-07-10 18:31:08 +01:00
|
|
|
repo = "dnscrypt-proxy";
|
2019-04-05 01:49:31 +01:00
|
|
|
rev = version;
|
2021-08-15 04:26:21 +01:00
|
|
|
sha256 = "sha256-HU5iy1dJbCp/PHnJjLi6MM+axz5Nrlcad5GEkD2p874=";
|
2018-07-10 18:31:08 +01:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-07-10 18:44:34 +01:00
|
|
|
description = "A tool that provides secure DNS resolution";
|
2018-07-10 18:31:08 +01:00
|
|
|
|
|
|
|
license = licenses.isc;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://dnscrypt.info/";
|
2020-02-07 13:35:53 +00:00
|
|
|
maintainers = with maintainers; [ atemu waynr ];
|
2018-07-10 18:31:08 +01:00
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|