depot/third_party/nixpkgs/pkgs/tools/security/boofuzz/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

64 lines
1.2 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "boofuzz";
version = "0.4.2";
pyproject = true;
src = fetchFromGitHub {
owner = "jtpereyda";
repo = "boofuzz";
rev = "refs/tags/v${version}";
hash = "sha256-ffZVFmfDAJ+Qn3hbeHY/CvYgpDLxB+jaYOiYyZqZ7mo=";
};
nativeBuildInputs = with python3.pkgs; [
poetry-core
];
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"
] ++ lib.optionals stdenv.isDarwin [
"test_time_repeater"
];
pythonImportsCheck = [
"boofuzz"
];
meta = with lib; {
description = "Network protocol fuzzing tool";
homepage = "https://github.com/jtpereyda/boofuzz";
changelog = "https://github.com/jtpereyda/boofuzz/blob/v${version}/CHANGELOG.rst";
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ fab ];
};
}