Merge pull request #305507 from fabaff/vt-py-bump

python312Packages.vt-py: 0.18.0 -> 0.18.1
This commit is contained in:
Fabian Affolter 2024-04-20 13:36:14 +02:00 committed by GitHub
commit a6382046f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,40 +1,42 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytest-httpserver
, pytestCheckHook
, pythonOlder
, setuptools
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytest-httpserver,
pytestCheckHook,
pythonRelaxDepsHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "vt-py";
version = "0.18.0";
version = "0.18.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "VirusTotal";
repo = pname;
repo = "vt-py";
rev = "refs/tags/${version}";
hash = "sha256-QEe/ZoKM0uVH7Yqpgo7V17Odn4xqdEgdQeMVB+57xbA=";
hash = "sha256-rWzANh7tkayFR6V3JaF3BLhIjUlnrPMmEmI36Ncqz2M=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""
--replace-fail "pytest-runner" ""
'';
nativeBuildInputs = [
setuptools
];
pythonRelaxDeps = [ "aiohttp" ];
propagatedBuildInputs = [
aiohttp
];
build-system = [ setuptools ];
nativeBuildInputs = [ pythonRelaxDepsHook ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
pytest-asyncio
@ -42,9 +44,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"vt"
];
pythonImportsCheck = [ "vt" ];
meta = with lib; {
description = "Python client library for VirusTotal";