pip-audit: format with nixfmt

This commit is contained in:
Fabian Affolter
2024-05-01 08:46:21 +02:00
parent 501cb1c73e
commit cbd791724b
+19 -19
View File
@@ -1,6 +1,7 @@
{ lib
, fetchFromGitHub
, python3
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
@@ -15,29 +16,28 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-MRFfF5OygUCIdUnPvxhYk4IcLSWGgmlw2qgzPoZDniw=";
};
build-system = with python3.pkgs; [
flit-core
];
build-system = with python3.pkgs; [ flit-core ];
dependencies = with python3.pkgs; [
cachecontrol
cyclonedx-python-lib
html5lib
packaging
pip-api
pip-requirements-parser
rich
toml
] ++ cachecontrol.optional-dependencies.filecache;
dependencies =
with python3.pkgs;
[
cachecontrol
cyclonedx-python-lib
html5lib
packaging
pip-api
pip-requirements-parser
rich
toml
]
++ cachecontrol.optional-dependencies.filecache;
nativeCheckInputs = with python3.pkgs; [
pretend
pytestCheckHook
];
pythonImportsCheck = [
"pip_audit"
];
pythonImportsCheck = [ "pip_audit" ];
preCheck = ''
export HOME=$(mktemp -d);