Commit 2f85c76e authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.appthreat-vulnerability-db: format with nixfmt

parent 4610d269
Loading
Loading
Loading
Loading
+20 −27
Original line number Diff line number Diff line
{ 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";