at 18.03-beta 48 lines 862 B view raw
1{ stdenv 2, fetchFromGitHub 3, autoconf 4, automake 5, libtool 6, pkgconfig 7, nettle 8, gnutls 9, libmsgpack 10, readline 11, libargon2 12}: 13 14stdenv.mkDerivation rec { 15 name = "opendht-${version}"; 16 version = "1.5.0"; 17 18 src = fetchFromGitHub { 19 owner = "savoirfairelinux"; 20 repo = "opendht"; 21 rev = "${version}"; 22 sha256 = "0zkxvs3vdlc4yzhfi2jh02bsnhh50fbfigqhnkmbx69lssnkyr05"; 23 }; 24 25 buildInputs = [ 26 autoconf 27 automake 28 libtool 29 pkgconfig 30 nettle 31 gnutls 32 libmsgpack 33 readline 34 libargon2 35 ]; 36 37 preConfigure = '' 38 ./autogen.sh 39 ''; 40 41 meta = with stdenv.lib; { 42 description = "A C++11 Kademlia distributed hash table implementation"; 43 homepage = https://github.com/savoirfairelinux/opendht; 44 license = licenses.gpl3Plus; 45 maintainers = with maintainers; [ taeer olynch ]; 46 platforms = platforms.linux; 47 }; 48}