From 98cd7e3b552fe46012f7441a27994e408bff1012 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Apr 2024 12:01:35 +0200 Subject: [PATCH] python312Packages.vt-py: 0.18.0 -> 0.18.1 Diff: https://github.com/VirusTotal/vt-py/compare/refs/tags/0.18.0...0.18.1 Changelog: https://github.com/VirusTotal/vt-py/releases/tag//0.18.1 --- pkgs/development/python-modules/vt-py/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/vt-py/default.nix b/pkgs/development/python-modules/vt-py/default.nix index 81f126abb241..b265cc25cfc0 100644 --- a/pkgs/development/python-modules/vt-py/default.nix +++ b/pkgs/development/python-modules/vt-py/default.nix @@ -5,13 +5,14 @@ , 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"; @@ -20,7 +21,7 @@ buildPythonPackage rec { owner = "VirusTotal"; repo = "vt-py"; rev = "refs/tags/${version}"; - hash = "sha256-QEe/ZoKM0uVH7Yqpgo7V17Odn4xqdEgdQeMVB+57xbA="; + hash = "sha256-rWzANh7tkayFR6V3JaF3BLhIjUlnrPMmEmI36Ncqz2M="; }; postPatch = '' @@ -28,10 +29,18 @@ buildPythonPackage rec { --replace-fail "pytest-runner" "" ''; + pythonRelaxDeps = [ + "aiohttp" + ]; + build-system = [ setuptools ]; + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + dependencies = [ aiohttp ];