Unverified Commit 94d78e46 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #218027 from fabaff/boofuzz-fix

boofuzz: disable failing test
parents d8c0a920 c2dc8b69
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
{ stdenv
, lib
{ lib
, stdenv
, fetchFromGitHub
, python3
}:
@@ -7,12 +7,13 @@
python3.pkgs.buildPythonApplication rec {
  pname = "boofuzz";
  version = "0.4.1";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "jtpereyda";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-mbxImm5RfYWq1JCCSvvG58Sxv2ad4BOh+RLvtNjQCKE=";
    rev = "refs/tags/v${version}";
    hash = "sha256-mbxImm5RfYWq1JCCSvvG58Sxv2ad4BOh+RLvtNjQCKE=";
  };

  propagatedBuildInputs = with python3.pkgs; [
@@ -41,6 +42,10 @@ python3.pkgs.buildPythonApplication rec {
    "TestNoResponseFailure"
    "TestProcessMonitor"
    "TestSocketConnection"
    # SyntaxError: invalid syntax, https://github.com/jtpereyda/boofuzz/issues/663
    "test_msg_60_bytes"
  ] ++ lib.optionals stdenv.isDarwin [
    "test_time_repeater"
  ];

  pythonImportsCheck = [
@@ -50,6 +55,7 @@ python3.pkgs.buildPythonApplication rec {
  meta = with lib; {
    description = "Network protocol fuzzing tool";
    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 ];
  };