nixpkgs/pkgs/tools/security/boofuzz/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

57 lines
976 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
];
nativeCheckInputs = 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 ];
};
}