dep-scan: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-10 12:42:22 +02:00
parent f70161f889
commit ded5cfda59

View File

@ -1,6 +1,7 @@
{ lib {
, python3 lib,
, fetchFromGitHub fetchFromGitHub,
python3,
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
@ -20,9 +21,7 @@ python3.pkgs.buildPythonApplication rec {
--replace-fail " --cov-append --cov-report term --cov depscan" "" --replace-fail " --cov-append --cov-report term --cov depscan" ""
''; '';
build-system = with python3.pkgs; [ build-system = with python3.pkgs; [ setuptools ];
setuptools
];
dependencies = with python3.pkgs; [ dependencies = with python3.pkgs; [
appthreat-vulnerability-db appthreat-vulnerability-db
@ -44,9 +43,7 @@ python3.pkgs.buildPythonApplication rec {
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "depscan" ];
"depscan"
];
preCheck = '' preCheck = ''
export HOME=$(mktemp -d) export HOME=$(mktemp -d)