python311Packages.vt-py: 0.17.5 -> 0.18.0

Diff: https://github.com/VirusTotal/vt-py/compare/refs/tags/0.17.5...0.18.0

Changelog: https://github.com/VirusTotal/vt-py/releases/tag//0.18.0
This commit is contained in:
Fabian Affolter 2023-12-22 09:26:32 +01:00
parent 17bb289ca0
commit 97d90a7847

View file

@ -6,22 +6,32 @@
, pytest-httpserver
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "vt-py";
version = "0.17.5";
format = "setuptools";
version = "0.18.0";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "VirusTotal";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-O95W/J5y7qcR6PSzNQwOl0W19CyXifbq8okquESFSqM=";
hash = "sha256-QEe/ZoKM0uVH7Yqpgo7V17Odn4xqdEgdQeMVB+57xbA=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
];
@ -32,11 +42,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py \
--replace "'pytest-runner'" ""
'';
pythonImportsCheck = [
"vt"
];