diff options
author | OTABI Tomoya <tomoya.otabi@gmail.com> | 2023-12-23 00:16:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-23 00:16:54 +0900 |
commit | 24347ecc5de37c0e45263c6832a692978aab4317 (patch) | |
tree | d8ae3de02cee8ad191d02aa6f0586f7c64fc289a | |
parent | 341a5bfe501d59bbf298496268ab8e9ab0fcbb0a (diff) | |
parent | 97d90a78475d04706ca89661c819ff73c4465055 (diff) |
Merge pull request #276008 from fabaff/vt-py-bump
python311Packages.vt-py: 0.17.5 -> 0.18.0
-rw-r--r-- | pkgs/development/python-modules/vt-py/default.nix | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/vt-py/default.nix b/pkgs/development/python-modules/vt-py/default.nix index ea44c4b5a165a..2db6ff91f9ed4 100644 --- a/pkgs/development/python-modules/vt-py/default.nix +++ b/pkgs/development/python-modules/vt-py/default.nix @@ -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" ]; |