{ stdenv , fetchFromGitHub , autoconf , automake , libtool , pkgconfig , nettle , gnutls , libmsgpack , readline , libargon2 }: stdenv.mkDerivation rec { name = "opendht-${version}"; version = "1.6.1"; src = fetchFromGitHub { owner = "savoirfairelinux"; repo = "opendht"; rev = "${version}"; sha256 = "13sxcg2sdhnzdkrjqmhg16p4001w3rd048p71k74pbmi8qpd0bw2"; }; buildInputs = [ autoconf automake libtool pkgconfig nettle gnutls libmsgpack readline libargon2 ]; preConfigure = '' ./autogen.sh ''; meta = with stdenv.lib; { description = "A C++11 Kademlia distributed hash table implementation"; homepage = https://github.com/savoirfairelinux/opendht; license = licenses.gpl3Plus; maintainers = with maintainers; [ taeer olynch ]; platforms = platforms.linux; }; }