python312Packages.vt-py: refactor

This commit is contained in:
Fabian Affolter 2024-04-20 11:58:57 +02:00
parent bc6154300f
commit 20c268192e
1 changed files with 4 additions and 4 deletions

View File

@ -18,21 +18,21 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "VirusTotal";
repo = pname;
repo = "vt-py";
rev = "refs/tags/${version}";
hash = "sha256-QEe/ZoKM0uVH7Yqpgo7V17Odn4xqdEgdQeMVB+57xbA=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""
--replace-fail "pytest-runner" ""
'';
nativeBuildInputs = [
build-system = [
setuptools
];
propagatedBuildInputs = [
dependencies = [
aiohttp
];