2017-10-29 14:47:17 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, isPy3k, isPyPy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "scapy";
|
|
|
|
version = "2.2.0";
|
|
|
|
name = pname + "-" + version;
|
2017-10-29 14:47:17 +00:00
|
|
|
|
|
|
|
disabled = isPy3k || isPyPy;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.secdev.org/projects/scapy/files/${name}.tar.gz";
|
|
|
|
sha256 = "1bqmp0xglkndrqgmybpwmzkv462mir8qlkfwsxwbvvzh9li3ndn5";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Powerful interactive network packet manipulation program";
|
|
|
|
homepage = http://www.secdev.org/projects/scapy/;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|