about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/dpkt/default.nix
blob: 74817e60cbcfbb51fbaf5307f96b87f7febd5137 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, fetchPypi
, buildPythonPackage
}:

buildPythonPackage rec {
  pname = "dpkt";
  version = "1.9.7.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "74899d557ec4e337db29cecc80548b23a1205384d30ee407397cfb9ab178e3d4";
  };

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "dpkt" ];

  meta = with lib; {
    description = "Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols";
    homepage = "https://github.com/kbandla/dpkt";
    license = licenses.bsd3;
    maintainers = with maintainers; [ bjornfor ];
    platforms = platforms.all;
  };
}