mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
65 lines
1.2 KiB
Nix
65 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";
|
|
mainProgram = "boo";
|
|
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 ];
|
|
};
|
|
}
|