Commit a6808eb6 authored by Sarah Clark's avatar Sarah Clark
Browse files

faraday-agent-dispatcher: 3.4.2 -> 3.9.1

parent 152025cb
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -6,29 +6,36 @@

python3.pkgs.buildPythonApplication (finalAttrs: {
  pname = "faraday-agent-dispatcher";
  version = "3.4.2";
  version = "3.9.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "infobyte";
    repo = "faraday_agent_dispatcher";
    tag = finalAttrs.version;
    hash = "sha256-Qr3ZGU4y7f6yHD78ecdv7a6IBFDpT+/4Yez0n/MenN0=";
    hash = "sha256-uf1oXE8pFvIPTDgcHXRbZDz8NZn9NecPe1eYuYhb1Xw=";
  };

  postPatch = ''
    substituteInPlace setup.py \
      --replace-fail '"pytest-runner",' ""
  '';
      --replace-fail '"pytest-runner",' ""  '';

  pythonRelaxDeps = [
    "python-socketio"
  ];

  pythonRemoveDeps = [
    "python-owasp-zap-v2.4"
  ];

  build-system = with python3.pkgs; [
    setuptools-scm
  ];

  nativeBuildInputs = [
    python3.pkgs.python-owasp-zap-v2-4
  ];

  dependencies = with python3.pkgs; [
    aiohttp
    click
@@ -42,6 +49,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
    python-socketio
    pyyaml
    requests
    requests-ratelimiter
    syslog-rfc5424-formatter
    websockets
  ];