nixpkgs-suyu/pkgs/development/libraries/opendht/default.nix

41 lines
867 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub
2020-03-23 15:13:28 +01:00
, cmake, pkg-config
, asio, nettle, gnutls, msgpack, readline, libargon2
2017-07-11 19:00:07 +02:00
}:
stdenv.mkDerivation rec {
pname = "opendht";
2020-03-23 15:13:28 +01:00
version = "2.0.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;
2020-03-23 15:13:28 +01:00
sha256 = "1q1fwk8wwk9r6bp0indpr60ql668lsk16ykslacyhrh7kg97kvhr";
2017-07-11 19:00:07 +02:00
};
nativeBuildInputs =
2020-03-23 15:13:28 +01:00
[ cmake
pkg-config
];
2017-07-11 19:00:07 +02:00
buildInputs =
2020-03-23 15:13:28 +01:00
[ asio
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";
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
};
}