diff --git a/pkgs/tools/security/boofuzz/default.nix b/pkgs/tools/security/boofuzz/default.nix index dc0179fa35e5..37724d87394d 100644 --- a/pkgs/tools/security/boofuzz/default.nix +++ b/pkgs/tools/security/boofuzz/default.nix @@ -1,5 +1,5 @@ -{ 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 ]; };