nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 62 lines 1.3 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, python3 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "boofuzz"; 9 version = "0.4.1"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "jtpereyda"; 14 repo = pname; 15 rev = "refs/tags/v${version}"; 16 hash = "sha256-mbxImm5RfYWq1JCCSvvG58Sxv2ad4BOh+RLvtNjQCKE="; 17 }; 18 19 propagatedBuildInputs = with python3.pkgs; [ 20 attrs 21 click 22 colorama 23 flask 24 funcy 25 future 26 psutil 27 pyserial 28 pydot 29 six 30 tornado 31 ]; 32 33 nativeCheckInputs = with python3.pkgs; [ 34 mock 35 netifaces 36 pytest-bdd 37 pytestCheckHook 38 ]; 39 40 disabledTests = [ 41 "TestNetworkMonitor" 42 "TestNoResponseFailure" 43 "TestProcessMonitor" 44 "TestSocketConnection" 45 # SyntaxError: invalid syntax, https://github.com/jtpereyda/boofuzz/issues/663 46 "test_msg_60_bytes" 47 ] ++ lib.optionals stdenv.isDarwin [ 48 "test_time_repeater" 49 ]; 50 51 pythonImportsCheck = [ 52 "boofuzz" 53 ]; 54 55 meta = with lib; { 56 description = "Network protocol fuzzing tool"; 57 homepage = "https://github.com/jtpereyda/boofuzz"; 58 changelog = "https://github.com/jtpereyda/boofuzz/blob/v${version}/CHANGELOG.rst"; 59 license = with licenses; [ gpl2Plus ]; 60 maintainers = with maintainers; [ fab ]; 61 }; 62}