ed2b320176
Disable tests that need network access.
56 lines
970 B
Nix
56 lines
970 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "boofuzz";
|
|
version = "0.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jtpereyda";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-mbxImm5RfYWq1JCCSvvG58Sxv2ad4BOh+RLvtNjQCKE=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
attrs
|
|
click
|
|
colorama
|
|
flask
|
|
funcy
|
|
future
|
|
psutil
|
|
pyserial
|
|
pydot
|
|
six
|
|
tornado
|
|
];
|
|
|
|
checkInputs = with python3.pkgs; [
|
|
mock
|
|
netifaces
|
|
pytest-bdd
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTests = [
|
|
"TestNetworkMonitor"
|
|
"TestNoResponseFailure"
|
|
"TestProcessMonitor"
|
|
"TestSocketConnection"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"boofuzz"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Network protocol fuzzing tool";
|
|
homepage = "https://github.com/jtpereyda/boofuzz";
|
|
license = with licenses; [ gpl2Plus ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|