2011-09-24 13:14:21 +04:00
|
|
|
{stdenv, fetchurl, automake, autoconf, libtool}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libdnet-1.12";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-10-27 02:44:19 +03:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libdnet/libdnet-1.12.tgz";
|
|
|
|
sha256 = "09mhbr8x66ykhf5581a5zjpplpjxibqzgkkpx689kybwg0wk1cw3";
|
2011-09-24 13:14:21 +04:00
|
|
|
};
|
|
|
|
|
2015-10-06 16:24:20 +03:00
|
|
|
buildInputs = [ automake autoconf libtool ];
|
2015-10-02 10:11:04 +03:00
|
|
|
|
2011-09-24 13:14:21 +04:00
|
|
|
# .so endings are missing (quick and dirty fix)
|
|
|
|
postInstall = ''
|
|
|
|
for i in $out/lib/*; do
|
|
|
|
ln -s $i $i.so
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 18:21:08 +04:00
|
|
|
description = "Provides a simplified, portable interface to several low-level networking routines";
|
2017-10-27 02:44:19 +03:00
|
|
|
homepage = https://github.com/dugsong/libdnet;
|
2014-12-21 02:00:35 +03:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2011-09-24 13:14:21 +04:00
|
|
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|