1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5}:
6
7buildPythonPackage rec {
8 pname = "dpkt";
9 version = "1.9.8";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-Q/hobkVdpQUoNf0e2iaJ1R3jZwqsl5mxsAz9IDkn7kU=";
15 };
16
17 # Project has no tests
18 doCheck = false;
19
20 pythonImportsCheck = [ "dpkt" ];
21
22 meta = with lib; {
23 description = "Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols";
24 homepage = "https://github.com/kbandla/dpkt";
25 license = licenses.bsd3;
26 maintainers = with maintainers; [ bjornfor ];
27 platforms = platforms.all;
28 };
29}