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