biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / security / boofuzz / default.nix
blobb254b9d3d191f3af6136343031161467fa3858fb
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , python3
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "boofuzz";
9   version = "0.4.2";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "jtpereyda";
14     repo = "boofuzz";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-ffZVFmfDAJ+Qn3hbeHY/CvYgpDLxB+jaYOiYyZqZ7mo=";
17   };
19   nativeBuildInputs = with python3.pkgs; [
20     poetry-core
21   ];
23   propagatedBuildInputs = with python3.pkgs; [
24     attrs
25     click
26     colorama
27     flask
28     funcy
29     future
30     psutil
31     pyserial
32     pydot
33     six
34     tornado
35   ];
37   nativeCheckInputs = with python3.pkgs; [
38     mock
39     netifaces
40     pytest-bdd
41     pytestCheckHook
42   ];
44   disabledTests = [
45     "TestNetworkMonitor"
46     "TestNoResponseFailure"
47     "TestProcessMonitor"
48     "TestSocketConnection"
49   ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
50     "test_time_repeater"
51   ];
53   pythonImportsCheck = [
54     "boofuzz"
55   ];
57   meta = with lib; {
58     description = "Network protocol fuzzing tool";
59     mainProgram = "boo";
60     homepage = "https://github.com/jtpereyda/boofuzz";
61     changelog = "https://github.com/jtpereyda/boofuzz/blob/v${version}/CHANGELOG.rst";
62     license = with licenses; [ gpl2Plus ];
63     maintainers = with maintainers; [ fab ];
64   };