1ffc76754d
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
40 lines
869 B
Nix
40 lines
869 B
Nix
{ stdenv, fetchFromGitHub
|
|
, cmake, pkg-config
|
|
, asio, nettle, gnutls, msgpack, readline, libargon2
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "opendht";
|
|
version = "2.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "savoirfairelinux";
|
|
repo = "opendht";
|
|
rev = version;
|
|
sha256 = "1ax26ri1ifb6s8ppd28jmanka9yf8mw3np65q2h4djhhik0phhal";
|
|
};
|
|
|
|
nativeBuildInputs =
|
|
[ cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs =
|
|
[ asio
|
|
nettle
|
|
gnutls
|
|
msgpack
|
|
readline
|
|
libargon2
|
|
];
|
|
|
|
outputs = [ "out" "lib" "dev" "man" ];
|
|
|
|
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 thoughtpolice ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|