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