nixpkgs/pkgs/development/libraries/opendht/default.nix
Ryan Mulligan 46bd7f657b opendht: 1.3.4 -> 1.5.0
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/204499k26yrbhl1mq7spslsc5fvmb81b-opendht-1.5.0/bin/dhtnode -h` got 0 exit code
- ran `/nix/store/204499k26yrbhl1mq7spslsc5fvmb81b-opendht-1.5.0/bin/dhtnode --help` got 0 exit code
- ran `/nix/store/204499k26yrbhl1mq7spslsc5fvmb81b-opendht-1.5.0/bin/dhtchat -h` got 0 exit code
- ran `/nix/store/204499k26yrbhl1mq7spslsc5fvmb81b-opendht-1.5.0/bin/dhtchat --help` got 0 exit code
- ran `/nix/store/204499k26yrbhl1mq7spslsc5fvmb81b-opendht-1.5.0/bin/dhtscanner -h` got 0 exit code
- ran `/nix/store/204499k26yrbhl1mq7spslsc5fvmb81b-opendht-1.5.0/bin/dhtscanner --help` got 0 exit code
- ran `/nix/store/204499k26yrbhl1mq7spslsc5fvmb81b-opendht-1.5.0/bin/dhtscanner help` got 0 exit code
- ran `/nix/store/204499k26yrbhl1mq7spslsc5fvmb81b-opendht-1.5.0/bin/dhtscanner -V` and found version 1.5.0
- ran `/nix/store/204499k26yrbhl1mq7spslsc5fvmb81b-opendht-1.5.0/bin/dhtscanner --version` and found version 1.5.0
- found 1.5.0 with grep in /nix/store/204499k26yrbhl1mq7spslsc5fvmb81b-opendht-1.5.0
- found 1.5.0 in filename of file in /nix/store/204499k26yrbhl1mq7spslsc5fvmb81b-opendht-1.5.0

cc "@taeer @olynch"
2018-02-27 08:47:49 -08:00

49 lines
862 B
Nix

{ stdenv
, fetchFromGitHub
, autoconf
, automake
, libtool
, pkgconfig
, nettle
, gnutls
, libmsgpack
, readline
, libargon2
}:
stdenv.mkDerivation rec {
name = "opendht-${version}";
version = "1.5.0";
src = fetchFromGitHub {
owner = "savoirfairelinux";
repo = "opendht";
rev = "${version}";
sha256 = "0zkxvs3vdlc4yzhfi2jh02bsnhh50fbfigqhnkmbx69lssnkyr05";
};
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;
};
}