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