python312Packages.appthreat-vulnerability-db: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-10 12:39:07 +02:00
parent 4610d2694e
commit 2f85c76e07
1 changed files with 20 additions and 27 deletions

View File

@ -1,18 +1,19 @@
{ lib
, appdirs
, buildPythonPackage
, cvss
, fetchFromGitHub
, httpx
, msgpack
, orjson
, packageurl-python
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, semver
, setuptools
, tabulate
{
lib,
appdirs,
buildPythonPackage,
cvss,
fetchFromGitHub,
httpx,
msgpack,
orjson,
packageurl-python,
pytestCheckHook,
pythonOlder,
pythonRelaxDepsHook,
semver,
setuptools,
tabulate,
}:
buildPythonPackage rec {
@ -39,13 +40,9 @@ buildPythonPackage rec {
"semver"
];
build-system = [
setuptools
];
build-system = [ setuptools ];
nativeBuildInputs = [
pythonRelaxDepsHook
];
nativeBuildInputs = [ pythonRelaxDepsHook ];
dependencies = [
appdirs
@ -58,9 +55,7 @@ buildPythonPackage rec {
tabulate
] ++ httpx.optional-dependencies.http2;
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
export HOME=$(mktemp -d);
@ -72,9 +67,7 @@ buildPythonPackage rec {
"test_download_recent"
];
pythonImportsCheck = [
"vdb"
];
pythonImportsCheck = [ "vdb" ];
meta = with lib; {
description = "Vulnerability database and package search for sources such as OSV, NVD, GitHub and npm";