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

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

65 lines
1.2 KiB
Nix
Raw Normal View History

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";
version = "0.4.2";
pyproject = true;
2021-11-22 00:36:40 +01:00
src = fetchFromGitHub {
owner = "jtpereyda";
repo = "boofuzz";
2023-02-24 14:39:39 +01:00
rev = "refs/tags/v${version}";
hash = "sha256-ffZVFmfDAJ+Qn3hbeHY/CvYgpDLxB+jaYOiYyZqZ7mo=";
2021-11-22 00:36:40 +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
];
nativeCheckInputs = with python3.pkgs; [
2021-11-22 00:36:40 +01:00
mock
netifaces
pytest-bdd
pytestCheckHook
];
disabledTests = [
"TestNetworkMonitor"
"TestNoResponseFailure"
"TestProcessMonitor"
"TestSocketConnection"
] ++ 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 ];
};
}