nixpkgs-suyu/pkgs/development/python-modules/dpkt/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

27 lines
605 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
}:
buildPythonPackage rec {
pname = "dpkt";
version = "1.9.8";
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;
};
}