nixpkgs/pkgs/tools/security/boofuzz/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
1.1 KiB
Nix
Raw Normal View History

2022-05-21 13:16:21 +00:00
{ stdenv
, lib
2021-11-21 23:36:40 +00:00
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "boofuzz";
2022-02-10 20:36:05 +00:00
version = "0.4.1";
2021-11-21 23:36:40 +00:00
src = fetchFromGitHub {
owner = "jtpereyda";
repo = pname;
rev = "v${version}";
2022-02-10 20:36:05 +00:00
sha256 = "sha256-mbxImm5RfYWq1JCCSvvG58Sxv2ad4BOh+RLvtNjQCKE=";
2021-11-21 23:36:40 +00:00
};
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 = [
# Tests require socket access
"test_raw_l2"
"test_raw_l3"
];
pythonImportsCheck = [
"boofuzz"
];
meta = with lib; {
description = "Network protocol fuzzing tool";
homepage = "https://github.com/jtpereyda/boofuzz";
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ fab ];
2022-05-21 13:16:21 +00:00
# FAILED unit_tests/test_monitors.py::TestProcessMonitor::test_set_options_persistent
broken = (stdenv.isDarwin && stdenv.isx86_64);
2021-11-21 23:36:40 +00:00
};
}