pip-audit: format with nixfmt
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user