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

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

63 lines
1.2 KiB
Nix
Raw Normal View History

2023-02-24 13:31:40 +00:00
{ lib
, stdenv
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";
2023-02-24 13:31:40 +00:00
format = "setuptools";
2021-11-21 23:36:40 +00:00
src = fetchFromGitHub {
owner = "jtpereyda";
repo = pname;
2023-02-24 13:39:39 +00:00
rev = "refs/tags/v${version}";
hash = "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
];
nativeCheckInputs = with python3.pkgs; [
2021-11-21 23:36:40 +00:00
mock
netifaces
pytest-bdd
pytestCheckHook
];
disabledTests = [
"TestNetworkMonitor"
"TestNoResponseFailure"
"TestProcessMonitor"
"TestSocketConnection"
2023-02-24 13:39:39 +00:00
# SyntaxError: invalid syntax, https://github.com/jtpereyda/boofuzz/issues/663
"test_msg_60_bytes"
] ++ lib.optionals stdenv.isDarwin [
"test_time_repeater"
2021-11-21 23:36:40 +00:00
];
pythonImportsCheck = [
"boofuzz"
];
meta = with lib; {
description = "Network protocol fuzzing tool";
homepage = "https://github.com/jtpereyda/boofuzz";
2023-02-24 13:31:40 +00:00
changelog = "https://github.com/jtpereyda/boofuzz/blob/v${version}/CHANGELOG.rst";
2021-11-21 23:36:40 +00:00
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ fab ];
};
}