mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
41 lines
867 B
Nix
41 lines
867 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, cmake, pkg-config
|
|
, asio, nettle, gnutls, msgpack, readline, libargon2
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "opendht";
|
|
version = "2.1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "savoirfairelinux";
|
|
repo = "opendht";
|
|
rev = version;
|
|
sha256 = "0sjb2a3yqnabwgmmn8gapc1dq9m8vp9z8w85zhsj654i5h3gp6zv";
|
|
};
|
|
|
|
nativeBuildInputs =
|
|
[ cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs =
|
|
[ asio
|
|
nettle
|
|
gnutls
|
|
msgpack
|
|
readline
|
|
libargon2
|
|
];
|
|
|
|
outputs = [ "out" "lib" "dev" "man" ];
|
|
|
|
meta = with 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;
|
|
};
|
|
}
|