1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 03:25:02 +00:00
nixpkgs/pkgs/development/libraries/libpcap/default.nix
Armijn Hemel a18fb28711 update to 0.9.8
svn path=/nixpkgs/trunk/; revision=10004
2007-12-31 18:41:16 +00:00

14 lines
373 B
Nix

{stdenv, fetchurl, flex, bison}:
stdenv.mkDerivation {
name = "libpcap-0.9.8";
src = fetchurl {
url = http://www.tcpdump.org/release/libpcap-0.9.8.tar.gz;
sha256 = "1yb2hg8jd1bzq3lbrff1sps4757krvj2c9pm2ixn44a4vsc865f4";
};
buildInputs = [flex bison];
configureFlags = "
${if stdenv.system == "i686-linux" then "--with-pcap=linux" else ""}
";
}