2021-08-21 09:29:46 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
}:
|
2017-10-29 13:42:50 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-10-29 13:44:50 +00:00
|
|
|
pname = "dpkt";
|
2022-09-14 21:36:07 +00:00
|
|
|
version = "1.9.8";
|
2017-10-29 13:42:50 +00:00
|
|
|
|
2017-10-29 13:44:50 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-14 21:36:07 +00:00
|
|
|
sha256 = "sha256-Q/hobkVdpQUoNf0e2iaJ1R3jZwqsl5mxsAz9IDkn7kU=";
|
2017-10-29 13:42:50 +00:00
|
|
|
};
|
|
|
|
|
2021-08-21 09:29:46 +00:00
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "dpkt" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-10-29 13:42:50 +00:00
|
|
|
description = "Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols";
|
2019-12-08 16:50:31 +00:00
|
|
|
homepage = "https://github.com/kbandla/dpkt";
|
2017-10-29 13:42:50 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|