about summary refs log tree commit diff
path: root/pkgs/tools/security/faraday-agent-dispatcher
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2023-08-18 22:41:34 -0700
committerTheodore Ni <3806110+tjni@users.noreply.github.com>2023-08-18 22:41:34 -0700
commit684d700c12d7245ee810262a5338b95dd8a46b61 (patch)
tree4da9c3651397fc4a723e587d49be03652cee756a /pkgs/tools/security/faraday-agent-dispatcher
parent07b9eee14bd772a3506ed9483cb2be40daddd18d (diff)
downloadnixlib-684d700c12d7245ee810262a5338b95dd8a46b61.tar
nixlib-684d700c12d7245ee810262a5338b95dd8a46b61.tar.gz
nixlib-684d700c12d7245ee810262a5338b95dd8a46b61.tar.bz2
nixlib-684d700c12d7245ee810262a5338b95dd8a46b61.tar.lz
nixlib-684d700c12d7245ee810262a5338b95dd8a46b61.tar.xz
nixlib-684d700c12d7245ee810262a5338b95dd8a46b61.tar.zst
nixlib-684d700c12d7245ee810262a5338b95dd8a46b61.zip
faraday-agent-dispatcher: 2.4.0 -> 2.6.2
Diffstat (limited to 'pkgs/tools/security/faraday-agent-dispatcher')
-rw-r--r--pkgs/tools/security/faraday-agent-dispatcher/default.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/tools/security/faraday-agent-dispatcher/default.nix b/pkgs/tools/security/faraday-agent-dispatcher/default.nix
index dc05255bc7ed..39f9398260f1 100644
--- a/pkgs/tools/security/faraday-agent-dispatcher/default.nix
+++ b/pkgs/tools/security/faraday-agent-dispatcher/default.nix
@@ -5,16 +5,21 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "faraday-agent-dispatcher";
-  version = "2.4.0";
+  version = "2.6.2";
   format = "setuptools";
 
   src = fetchFromGitHub {
     owner = "infobyte";
     repo = "faraday_agent_dispatcher";
     rev = "refs/tags/${version}";
-    hash = "sha256-gZXA+2zW25Dl8JmBgg7APZt6ZdpFOEFZXAkiZ+tn/4g=";
+    hash = "sha256-+lsejepg/iBHo6CRAGNHjiUC7ZgboHbKu7EDmlN3lVk=";
   };
 
+  postPatch = ''
+    substituteInPlace setup.py \
+      --replace '"pytest-runner",' ""
+  '';
+
   nativeBuildInputs = with python3.pkgs; [
     setuptools-scm
   ];
@@ -26,6 +31,7 @@ python3.pkgs.buildPythonApplication rec {
     faraday-plugins
     itsdangerous
     psutil
+    pytenable
     python-gvm
     python-owasp-zap-v2-4
     pyyaml
@@ -39,11 +45,6 @@ python3.pkgs.buildPythonApplication rec {
     pytestCheckHook
   ];
 
-  postPatch = ''
-    substituteInPlace setup.py \
-      --replace '"pytest-runner",' ""
-  '';
-
   preCheck = ''
     export HOME=$(mktemp -d);
   '';