2016-03-12 09:59:17 -08:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libsodium, libevent }:
|
2015-09-10 12:55:54 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "dnscrypt-wrapper";
|
2018-12-16 01:26:41 -08:00
|
|
|
version = "0.4.2";
|
2015-09-10 12:55:54 -07:00
|
|
|
|
2016-03-12 09:59:17 -08:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Cofyc";
|
|
|
|
repo = "dnscrypt-wrapper";
|
|
|
|
rev = "v${version}";
|
2018-12-16 01:26:41 -08:00
|
|
|
sha256 = "055vxpcfg80b1456p6p0p236pwykknph9x3c9psg8ya3i8qqywkl";
|
2015-09-10 12:55:54 -07:00
|
|
|
};
|
|
|
|
|
2017-08-29 12:30:55 -07:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-03-12 09:59:17 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
|
|
|
buildInputs = [ libsodium libevent ];
|
2015-09-10 12:55:54 -07:00
|
|
|
|
2016-03-12 09:59:17 -08:00
|
|
|
meta = with stdenv.lib; {
|
2015-09-10 12:55:54 -07:00
|
|
|
description = "A tool for adding dnscrypt support to any name resolver";
|
2018-09-03 07:53:02 -07:00
|
|
|
homepage = https://dnscrypt.info/;
|
2016-10-28 17:56:38 -07:00
|
|
|
license = licenses.isc;
|
2016-03-12 09:59:17 -08:00
|
|
|
maintainers = with maintainers; [ tstrobel joachifm ];
|
|
|
|
platforms = platforms.linux;
|
2015-09-10 12:55:54 -07:00
|
|
|
};
|
|
|
|
}
|