at 17.09-beta 26 lines 739 B view raw
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libsodium, libevent }: 2 3stdenv.mkDerivation rec { 4 name = "dnscrypt-wrapper-${version}"; 5 version = "0.3"; 6 7 src = fetchFromGitHub { 8 owner = "Cofyc"; 9 repo = "dnscrypt-wrapper"; 10 rev = "v${version}"; 11 sha256 = "0wnkgn0ajx1qmfyb264jvpqxlbravdcq4m485iaa3wjp82g8xlca"; 12 }; 13 14 enableParallelBuilding = true; 15 16 nativeBuildInputs = [ pkgconfig autoreconfHook ]; 17 buildInputs = [ libsodium libevent ]; 18 19 meta = with stdenv.lib; { 20 description = "A tool for adding dnscrypt support to any name resolver"; 21 homepage = https://dnscrypt.org/; 22 license = licenses.isc; 23 maintainers = with maintainers; [ tstrobel joachifm ]; 24 platforms = platforms.linux; 25 }; 26}