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