opendht: rework module to use autoreconfHook, and use multiple outputs
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
d1c6c32230
commit
185f0015f2
@ -1,14 +1,6 @@
|
|||||||
{ stdenv
|
{ stdenv, fetchFromGitHub
|
||||||
, fetchFromGitHub
|
, autoreconfHook, pkgconfig
|
||||||
, autoconf
|
, nettle, gnutls, msgpack, readline, libargon2
|
||||||
, automake
|
|
||||||
, libtool
|
|
||||||
, pkgconfig
|
|
||||||
, nettle
|
|
||||||
, gnutls
|
|
||||||
, msgpack
|
|
||||||
, readline
|
|
||||||
, libargon2
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -22,27 +14,26 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1wqib5plak9bw2bla7y4qyjqi0b00kf8mfwlml16qj3i0aq6h2cp";
|
sha256 = "1wqib5plak9bw2bla7y4qyjqi0b00kf8mfwlml16qj3i0aq6h2cp";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
nativeBuildInputs =
|
||||||
autoconf
|
[ autoreconfHook
|
||||||
automake
|
|
||||||
libtool
|
|
||||||
pkgconfig
|
pkgconfig
|
||||||
nettle
|
];
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
[ nettle
|
||||||
gnutls
|
gnutls
|
||||||
msgpack
|
msgpack
|
||||||
readline
|
readline
|
||||||
libargon2
|
libargon2
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
outputs = [ "out" "lib" "dev" "man" ];
|
||||||
./autogen.sh
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A C++11 Kademlia distributed hash table implementation";
|
description = "A C++11 Kademlia distributed hash table implementation";
|
||||||
homepage = https://github.com/savoirfairelinux/opendht;
|
homepage = https://github.com/savoirfairelinux/opendht;
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ taeer olynch ];
|
maintainers = with maintainers; [ taeer olynch thoughtpolice ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user