python3Packages.pyshark: 0.4.6 -> 0.5.3

This commit is contained in:
Martin Weinelt
2022-07-21 22:35:10 +02:00
parent 96f687b96c
commit 286f577f72
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, appdirs
, lxml
, packaging
, py
@@ -11,7 +12,7 @@
buildPythonPackage rec {
pname = "pyshark";
version = "0.4.6";
version = "0.5.3";
format = "setuptools";
disabled = pythonOlder "3.7";
@@ -22,17 +23,22 @@ buildPythonPackage rec {
# 0.4.5 was the last release which was tagged
# https://github.com/KimiNewt/pyshark/issues/541
rev = "refs/tags/v${version}";
hash = "sha256-yEpUFihETKta3+Xb8eSyTZ1uSi7ao4OqWzsCgDLLhe8=";
hash = "sha256-byll2GWY2841AAf8Xh+KfaCOtMGVKabTsLCe3gCdZ1o=";
};
sourceRoot = "${src.name}/src";
propagatedBuildInputs = [
appdirs
py
lxml
packaging
];
preCheck = ''
export HOME=$TMPDIR
'';
checkInputs = [
pytestCheckHook
wireshark-cli