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