forked from mirrors/nixpkgs
python3Packages.pyshark: init at 0.4.2.11
This commit is contained in:
parent
df18d77f1e
commit
cf650ed8ce
38
pkgs/development/python-modules/pyshark/default.nix
Normal file
38
pkgs/development/python-modules/pyshark/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, py, lxml, pytestCheckHook, wireshark-cli }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyshark";
|
||||
version = "0.4.2.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KimiNewt";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "07dkhkf85cplcj1h3k8mmqzsn4zdkxzr0zg3gvf8yc8p5g5azx9q";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
py
|
||||
lxml
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
cd src
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
cd ..
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
wireshark-cli
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python wrapper for tshark, allowing python packet parsing using wireshark dissectors";
|
||||
homepage = "https://github.com/KimiNewt/pyshark/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ petabyteboy ];
|
||||
};
|
||||
}
|
|
@ -4890,6 +4890,8 @@ in {
|
|||
|
||||
pysbd = callPackage ../development/python-modules/pysbd { };
|
||||
|
||||
pyshark = callPackage ../development/python-modules/pyshark { };
|
||||
|
||||
python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
|
||||
|
||||
python-csxcad = callPackage ../development/python-modules/python-csxcad { };
|
||||
|
|
Loading…
Reference in a new issue