summary refs log tree commit diff
path: root/pkgs/development/python-modules/scapy/default.nix
blob: 6670394ac0bb105e555ea9135d0e710460716ad5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, buildPythonPackage, isPy3k, isPyPy }:

buildPythonPackage rec {
  pname = "scapy";
  version = "2.2.0";
  name = pname + "-" + version;

  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 ];
  };
}