Commit aa7a7a91 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

wapiti: format with nixfmt

parent 6abca390
Loading
Loading
Loading
Loading
+33 −35
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, python3
{
  lib,
  fetchFromGitHub,
  python3,
}:

python3.pkgs.buildPythonApplication rec {
@@ -23,15 +24,13 @@ python3.pkgs.buildPythonApplication rec {

  pythonRelaxDeps = true;

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

  nativeBuildInputs = with python3.pkgs; [
    pythonRelaxDepsHook
  ];
  nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];

  dependencies = with python3.pkgs; [
  dependencies =
    with python3.pkgs;
    [
      aiocache
      aiohttp
      aiosqlite
@@ -52,7 +51,8 @@ python3.pkgs.buildPythonApplication rec {
      sqlalchemy
      tld
      yaswfp
  ] ++ httpx.optional-dependencies.brotli
    ]
    ++ httpx.optional-dependencies.brotli
    ++ httpx.optional-dependencies.socks;

  __darwinAllowLocalNetworking = true;
@@ -140,9 +140,7 @@ python3.pkgs.buildPythonApplication rec {
    "tests/attack/test_mod_ssl.py"
  ];

  pythonImportsCheck = [
    "wapitiCore"
  ];
  pythonImportsCheck = [ "wapitiCore" ];

  meta = with lib; {
    description = "Web application vulnerability scanner";