3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/opendht/default.nix

40 lines
881 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub
, autoreconfHook, pkgconfig
, nettle, gnutls, msgpack, readline, libargon2
2017-07-11 18:00:07 +01:00
}:
stdenv.mkDerivation rec {
name = "opendht-${version}";
version = "1.8.0";
2017-07-11 18:00:07 +01:00
src = fetchFromGitHub {
owner = "savoirfairelinux";
repo = "opendht";
rev = "${version}";
sha256 = "1mj3zsywxphh9wcazyqsldwwn14r77xv9cjsmc0nmcybsl2bwnpl";
2017-07-11 18:00:07 +01:00
};
nativeBuildInputs =
[ autoreconfHook
pkgconfig
];
2017-07-11 18:00:07 +01:00
buildInputs =
[ nettle
gnutls
msgpack
readline
libargon2
];
outputs = [ "out" "lib" "dev" "man" ];
2017-07-11 18:00:07 +01: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 18:00:07 +01:00
};
}