2023-02-24 14:31:40 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2021-11-22 00:36:40 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "boofuzz";
|
2023-11-19 09:18:28 +01:00
|
|
|
version = "0.4.2";
|
|
|
|
pyproject = true;
|
2021-11-22 00:36:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jtpereyda";
|
2023-11-19 09:18:28 +01:00
|
|
|
repo = "boofuzz";
|
2023-02-24 14:39:39 +01:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-11-19 09:18:28 +01:00
|
|
|
hash = "sha256-ffZVFmfDAJ+Qn3hbeHY/CvYgpDLxB+jaYOiYyZqZ7mo=";
|
2021-11-22 00:36:40 +01:00
|
|
|
};
|
|
|
|
|
2023-11-19 09:18:28 +01:00
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
2021-11-22 00:36:40 +01:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
attrs
|
|
|
|
click
|
|
|
|
colorama
|
|
|
|
flask
|
|
|
|
funcy
|
|
|
|
future
|
|
|
|
psutil
|
|
|
|
pyserial
|
|
|
|
pydot
|
|
|
|
six
|
|
|
|
tornado
|
|
|
|
];
|
|
|
|
|
2023-01-21 13:00:00 +01:00
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
2021-11-22 00:36:40 +01:00
|
|
|
mock
|
|
|
|
netifaces
|
|
|
|
pytest-bdd
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTests = [
|
2022-07-10 06:13:31 +02:00
|
|
|
"TestNetworkMonitor"
|
|
|
|
"TestNoResponseFailure"
|
|
|
|
"TestProcessMonitor"
|
|
|
|
"TestSocketConnection"
|
2023-02-26 12:24:39 +01:00
|
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
|
|
"test_time_repeater"
|
2021-11-22 00:36:40 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"boofuzz"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Network protocol fuzzing tool";
|
|
|
|
homepage = "https://github.com/jtpereyda/boofuzz";
|
2023-02-24 14:31:40 +01:00
|
|
|
changelog = "https://github.com/jtpereyda/boofuzz/blob/v${version}/CHANGELOG.rst";
|
2021-11-22 00:36:40 +01:00
|
|
|
license = with licenses; [ gpl2Plus ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|