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