mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 07:26:54 +00:00
32558af970
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. These checks were done: - built on NixOS - ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtnode -h’ got 0 exit code - ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtnode --help’ got 0 exit code - ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtnode help’ got 0 exit code - ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtchat -h’ got 0 exit code - ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtchat --help’ got 0 exit code - ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtscanner -h’ got 0 exit code - ran ‘/nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2/bin/dhtscanner --help’ got 0 exit code - found 1.7.2 with grep in /nix/store/j00w2x6mfk421h6z7ma1ndvp0yy3is7g-opendht-1.7.2 - directory tree listing: https://gist.github.com/bae66cd16ade0c7ae0789b34e0528267
49 lines
862 B
Nix
49 lines
862 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, autoconf
|
|
, automake
|
|
, libtool
|
|
, pkgconfig
|
|
, nettle
|
|
, gnutls
|
|
, libmsgpack
|
|
, readline
|
|
, libargon2
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "opendht-${version}";
|
|
version = "1.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "savoirfairelinux";
|
|
repo = "opendht";
|
|
rev = "${version}";
|
|
sha256 = "0nia3gkn5jqs7lf0v6jkhh1c0czdx9743imgi77kcvn98k2n6sjc";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|