masscan: 2017-02-04 -> 1.0.4
This commit is contained in:
parent
cdbe4671be
commit
de1e0ee43f
@ -1,17 +1,17 @@
|
||||
{ stdenv, fetchFromGitHub, libpcap }:
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, libpcap }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "masscan-${version}";
|
||||
version = "2016-11-03";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "robertdavidgraham";
|
||||
repo = "masscan";
|
||||
rev = "dc88677a11dc3d9a5f6aa55cc1377bc17dba1496";
|
||||
sha256 = "1mdjqkn4gnbwr5nci6i6xn7qzkjgq7dx37fzd6gghv87xgw7cdbg";
|
||||
rev = "39061a5e9ef158dde1e6618f6fbf379739934a73";
|
||||
sha256 = "0mjvwh4i0ncsa3ywavw2s55v5bfv7pyga028c8m8xfash9764wwf";
|
||||
};
|
||||
|
||||
buildInputs = [ libpcap ];
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "CC=cc" "-j" ];
|
||||
|
||||
@ -24,13 +24,15 @@ stdenv.mkDerivation rec {
|
||||
cp -t $out/share/doc/masscan doc/algorithm.js doc/howto-afl.md doc/bot.hml
|
||||
cp doc/masscan.8 $out/share/man/man8/masscan.8
|
||||
cp LICENSE $out/share/licenses/masscan/LICENSE
|
||||
|
||||
wrapProgram $out/bin/masscan --prefix LD_LIBRARY_PATH : "${libpcap}/lib"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Fast scan of the Internet";
|
||||
homepage = https://github.com/robertdavidgraham/masscan;
|
||||
license = licenses.agpl3;
|
||||
platforms = with platforms; allBut darwin;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ rnhmjoj ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user