From 270eaedc61b015973a3c66845ea2f79c52296f41 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 16 Jan 2024 10:30:09 +0100 Subject: [PATCH] faraday-agent-dispatcher: 2.6.2 -> 3.0.1 Diff: https://github.com/infobyte/faraday_agent_dispatcher/compare/refs/tags/2.6.2...3.0.1 Changelog: https://github.com/infobyte/faraday_agent_dispatcher/releases/tag/3.0.1 --- .../security/faraday-agent-dispatcher/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/faraday-agent-dispatcher/default.nix b/pkgs/tools/security/faraday-agent-dispatcher/default.nix index 39f9398260f1..44cf92318235 100644 --- a/pkgs/tools/security/faraday-agent-dispatcher/default.nix +++ b/pkgs/tools/security/faraday-agent-dispatcher/default.nix @@ -5,14 +5,14 @@ python3.pkgs.buildPythonApplication rec { pname = "faraday-agent-dispatcher"; - version = "2.6.2"; - format = "setuptools"; + version = "3.0.1"; + pyproject = true; src = fetchFromGitHub { owner = "infobyte"; repo = "faraday_agent_dispatcher"; rev = "refs/tags/${version}"; - hash = "sha256-+lsejepg/iBHo6CRAGNHjiUC7ZgboHbKu7EDmlN3lVk="; + hash = "sha256-QCxYqLZAPrhcKAFguWT2ygN/OMe2Tr7HtnMx4Kp2bGM="; }; postPatch = '' @@ -20,7 +20,12 @@ python3.pkgs.buildPythonApplication rec { --replace '"pytest-runner",' "" ''; + pythonRelaxDeps = [ + "python-socketio" + ]; + nativeBuildInputs = with python3.pkgs; [ + pythonRelaxDepsHook setuptools-scm ]; @@ -34,6 +39,7 @@ python3.pkgs.buildPythonApplication rec { pytenable python-gvm python-owasp-zap-v2-4 + python-socketio pyyaml requests syslog-rfc5424-formatter