nixpkgs/pkgs/tools/networking/dhcpdump/default.nix

26 lines
678 B
Nix
Raw Normal View History

2015-02-05 14:52:14 +01:00
{ stdenv, fetchurl, libpcap, perl }:
stdenv.mkDerivation rec {
name = "dhcpdump-1.8";
src = fetchurl {
url = "http://archive.ubuntu.com/ubuntu/pool/universe/d/dhcpdump/dhcpdump_1.8.orig.tar.gz";
sha256 = "143iyzkqvhj4dscwqs75jvfr4wvzrs11ck3fqn5p7yv2h50vjpkd";
};
buildInputs = [libpcap perl];
hardeningDisable = [ "fortify" ];
2016-02-12 01:40:58 +01:00
2015-02-05 14:52:14 +01:00
installPhase = ''
mkdir -pv $out/bin
cp dhcpdump $out/bin
'';
meta = {
description = "A tool for visualization of DHCP packets as recorded and output by tcpdump to analyze DHCP server responses";
2018-07-20 03:12:04 +02:00
homepage = https://packages.ubuntu.com/ru/lucid/dhcpdump;
2015-02-05 14:52:14 +01:00
platforms = stdenv.lib.platforms.linux;
};
}