2016-03-12 18:59:17 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libsodium, libevent }:
|
2015-09-10 21:55:54 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dnscrypt-wrapper-${version}";
|
2017-08-29 21:30:55 +02:00
|
|
|
version = "0.3";
|
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}";
|
2017-08-29 21:30:55 +02:00
|
|
|
sha256 = "0wnkgn0ajx1qmfyb264jvpqxlbravdcq4m485iaa3wjp82g8xlca";
|
2015-09-10 21:55:54 +02:00
|
|
|
};
|
|
|
|
|
2017-08-29 21:30:55 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-03-12 18:59:17 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
|
|
|
buildInputs = [ libsodium libevent ];
|
2015-09-10 21:55:54 +02:00
|
|
|
|
2016-03-12 18:59:17 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-09-10 21:55:54 +02:00
|
|
|
description = "A tool for adding dnscrypt support to any name resolver";
|
2016-03-12 18:59:17 +01:00
|
|
|
homepage = https://dnscrypt.org/;
|
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
|
|
|
};
|
|
|
|
}
|