f2b1f51a32
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/opendht/versions
39 lines
881 B
Nix
39 lines
881 B
Nix
{ stdenv, fetchFromGitHub
|
|
, autoreconfHook, pkgconfig
|
|
, nettle, gnutls, msgpack, readline, libargon2
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "opendht-${version}";
|
|
version = "1.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "savoirfairelinux";
|
|
repo = "opendht";
|
|
rev = "${version}";
|
|
sha256 = "1mj3zsywxphh9wcazyqsldwwn14r77xv9cjsmc0nmcybsl2bwnpl";
|
|
};
|
|
|
|
nativeBuildInputs =
|
|
[ autoreconfHook
|
|
pkgconfig
|
|
];
|
|
|
|
buildInputs =
|
|
[ 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;
|
|
};
|
|
}
|