diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-11-22 00:36:40 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-11-22 00:36:40 +0100 |
commit | 5ff62e34a64442fb1ba9bf0d6b7f8b2e4648537e (patch) | |
tree | acfb078c9d0cf7587166d8a5df631e3f345f69a2 /pkgs/tools/security/boofuzz | |
parent | 293e6f0ce5e0db0cbc7ba783c0b3ff31293f3d8f (diff) |
boofuzz: init at 0.4.0
Diffstat (limited to 'pkgs/tools/security/boofuzz')
-rw-r--r-- | pkgs/tools/security/boofuzz/default.nix | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/pkgs/tools/security/boofuzz/default.nix b/pkgs/tools/security/boofuzz/default.nix new file mode 100644 index 0000000000000..353758c3d5f9d --- /dev/null +++ b/pkgs/tools/security/boofuzz/default.nix @@ -0,0 +1,54 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "boofuzz"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "jtpereyda"; + repo = pname; + rev = "v${version}"; + sha256 = "4WtTZ2S2rC2XXN0HbiEht9NW0JXcPnpp66AH67F88yk="; + }; + + 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 ]; + }; +} |