depot/third_party/nixpkgs/pkgs/development/python-modules/dpkt/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

29 lines
635 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
}:
buildPythonPackage rec {
pname = "dpkt";
version = "1.9.8";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Q/hobkVdpQUoNf0e2iaJ1R3jZwqsl5mxsAz9IDkn7kU=";
};
# 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;
};
}