1 { lib, stdenv, fetchFromGitHub, makeWrapper, perl, perlPackages }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "1bg1ljv6klic13wq4r53bg6inhc74kqwm3w210865b1v1n8wj60v";
14 propagatedBuildInputs = with perlPackages; [
15 perl NetDNS NetIP NetNetmask StringRandom XMLWriter NetWhoisIP WWWMechanize
17 nativeBuildInputs = [ makeWrapper ];
20 install -vD dnsenum.pl $out/bin/dnsenum
21 install -vD dns.txt -t $out/share
25 homepage = "https://github.com/fwaeytens/dnsenum";
26 description = "Tool to enumerate DNS information";
27 mainProgram = "dnsenum";
28 maintainers = with maintainers; [ c0bw3b ];
29 license = licenses.gpl2Plus;
30 platforms = platforms.all;