python312Packages.vt-py: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-20 12:01:48 +02:00
parent 98cd7e3b55
commit 4528b9e725

View File

@ -1,13 +1,14 @@
{ lib {
, aiohttp lib,
, buildPythonPackage aiohttp,
, fetchFromGitHub buildPythonPackage,
, pytest-asyncio fetchFromGitHub,
, pytest-httpserver pytest-asyncio,
, pytestCheckHook pytest-httpserver,
, pythonRelaxDepsHook pytestCheckHook,
, pythonOlder pythonRelaxDepsHook,
, setuptools pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -29,21 +30,13 @@ buildPythonPackage rec {
--replace-fail "pytest-runner" "" --replace-fail "pytest-runner" ""
''; '';
pythonRelaxDeps = [ pythonRelaxDeps = [ "aiohttp" ];
"aiohttp"
];
build-system = [ build-system = [ setuptools ];
setuptools
];
nativeBuildInputs = [ nativeBuildInputs = [ pythonRelaxDepsHook ];
pythonRelaxDepsHook
];
dependencies = [ dependencies = [ aiohttp ];
aiohttp
];
nativeCheckInputs = [ nativeCheckInputs = [
pytest-asyncio pytest-asyncio
@ -51,9 +44,7 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "vt" ];
"vt"
];
meta = with lib; { meta = with lib; {
description = "Python client library for VirusTotal"; description = "Python client library for VirusTotal";