2018-07-10 17:31:08 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "dnscrypt-proxy2-${version}";
|
2019-04-04 20:55:46 +00:00
|
|
|
version = "2.0.22";
|
2018-07-10 17:31:08 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/jedisct1/dnscrypt-proxy";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jedisct1";
|
|
|
|
repo = "dnscrypt-proxy";
|
2019-04-05 00:49:31 +00:00
|
|
|
rev = version;
|
2019-04-04 20:55:46 +00:00
|
|
|
sha256 = "0rmiyqxbbc3gjnfvyggf2lckckliiijq528993gv0n875r7ahkix";
|
2018-07-10 17:31:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-07-10 17:44:34 +00:00
|
|
|
description = "A tool that provides secure DNS resolution";
|
2018-07-10 17:31:08 +00:00
|
|
|
|
|
|
|
license = licenses.isc;
|
|
|
|
homepage = https://dnscrypt.info/;
|
|
|
|
maintainers = with maintainers; [ waynr ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|