diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-05-07 22:30:18 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-05-07 22:30:18 +0200 |
commit | fbe5ef5f5012e230203cd16babdec125f54d687f (patch) | |
tree | 7be86890a0f850920937530a00e2a028990f3826 /pkgs/tools/security | |
parent | 993f9d111d7f0b3a02b78a6a4c0d2e81e6610e38 (diff) |
knowsmore: format with nixfmt
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/knowsmore/default.nix | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/pkgs/tools/security/knowsmore/default.nix b/pkgs/tools/security/knowsmore/default.nix index e0309b9befe22..4c460eabcbe51 100644 --- a/pkgs/tools/security/knowsmore/default.nix +++ b/pkgs/tools/security/knowsmore/default.nix @@ -1,6 +1,7 @@ -{ lib -, fetchFromGitHub -, python3 +{ + lib, + fetchFromGitHub, + python3, }: python3.pkgs.buildPythonApplication rec { @@ -20,17 +21,11 @@ python3.pkgs.buildPythonApplication rec { "urllib3" ]; - pythonRemoveDeps = [ - "bs4" - ]; + pythonRemoveDeps = [ "bs4" ]; - 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; [ aioconsole @@ -50,17 +45,11 @@ python3.pkgs.buildPythonApplication rec { xmltodict ]; - nativeCheckInputs = with python3.pkgs; [ - pytestCheckHook - ]; + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ]; - pythonImportsCheck = [ - "knowsmore" - ]; + pythonImportsCheck = [ "knowsmore" ]; - pytestFlagsArray = [ - "tests/tests*" - ]; + pytestFlagsArray = [ "tests/tests*" ]; meta = with lib; { description = "Tool for pentesting Microsoft Active Directory"; |