nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 17.09 29 lines 768 B view raw
1{stdenv, fetchurl, automake, autoconf, libtool}: 2 3stdenv.mkDerivation { 4 name = "libdnet-1.12"; 5 6 enableParallelBuilding = true; 7 8 src = fetchurl { 9 url = http://libdnet.googlecode.com/files/libdnet-1.12.tgz; 10 sha1 = "71302be302e84fc19b559e811951b5d600d976f8"; 11 }; 12 13 buildInputs = [ automake autoconf libtool ]; 14 15 # .so endings are missing (quick and dirty fix) 16 postInstall = '' 17 for i in $out/lib/*; do 18 ln -s $i $i.so 19 done 20 ''; 21 22 meta = { 23 description = "Provides a simplified, portable interface to several low-level networking routines"; 24 homepage = http://code.google.com/p/libdnet/; 25 license = stdenv.lib.licenses.bsd3; 26 maintainers = [stdenv.lib.maintainers.marcweber]; 27 platforms = stdenv.lib.platforms.linux; 28 }; 29}