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

49 lines
862 B
Nix
Raw Normal View History

2017-07-11 17:00:07 +00:00
{ stdenv
, fetchFromGitHub
, autoconf
, automake
, libtool
, pkgconfig
, nettle
, gnutls
, libmsgpack
, readline
, libargon2
}:
stdenv.mkDerivation rec {
name = "opendht-${version}";
version = "1.7.1";
2017-07-11 17:00:07 +00:00
src = fetchFromGitHub {
owner = "savoirfairelinux";
repo = "opendht";
rev = "${version}";
sha256 = "1702abnsaf473c56pz18xjgvc2pjhba8dyfryir5dg34zw1c94sc";
2017-07-11 17:00:07 +00:00
};
buildInputs = [
autoconf
automake
libtool
pkgconfig
nettle
gnutls
libmsgpack
readline
libargon2
];
preConfigure = ''
./autogen.sh
'';
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 ];
platforms = platforms.linux;
};
}