2018-08-31 00:10:39 +02:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, autoreconfHook, pkgconfig
|
|
|
|
, nettle, gnutls, msgpack, readline, libargon2
|
2017-07-11 19:00:07 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "opendht";
|
2018-12-15 07:38:27 +01:00
|
|
|
version = "1.8.0";
|
2017-07-11 19:00:07 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "savoirfairelinux";
|
|
|
|
repo = "opendht";
|
2019-09-09 01:38:31 +02:00
|
|
|
rev = version;
|
2018-12-15 07:38:27 +01:00
|
|
|
sha256 = "1mj3zsywxphh9wcazyqsldwwn14r77xv9cjsmc0nmcybsl2bwnpl";
|
2017-07-11 19:00:07 +02:00
|
|
|
};
|
|
|
|
|
2018-08-31 00:10:39 +02:00
|
|
|
nativeBuildInputs =
|
|
|
|
[ autoreconfHook
|
|
|
|
pkgconfig
|
|
|
|
];
|
2017-07-11 19:00:07 +02:00
|
|
|
|
2018-08-31 00:10:39 +02:00
|
|
|
buildInputs =
|
|
|
|
[ nettle
|
|
|
|
gnutls
|
|
|
|
msgpack
|
|
|
|
readline
|
|
|
|
libargon2
|
|
|
|
];
|
|
|
|
|
|
|
|
outputs = [ "out" "lib" "dev" "man" ];
|
2017-07-11 19:00:07 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A C++11 Kademlia distributed hash table implementation";
|
2018-08-31 00:10:39 +02:00
|
|
|
homepage = https://github.com/savoirfairelinux/opendht;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ taeer olynch thoughtpolice ];
|
|
|
|
platforms = platforms.linux;
|
2017-07-11 19:00:07 +02:00
|
|
|
};
|
|
|
|
}
|