diff --git a/pkgs/development/python-modules/vt-py/default.nix b/pkgs/development/python-modules/vt-py/default.nix index 1542a447a1bc..fcd2c2452fe6 100644 --- a/pkgs/development/python-modules/vt-py/default.nix +++ b/pkgs/development/python-modules/vt-py/default.nix @@ -10,7 +10,8 @@ buildPythonPackage rec { pname = "vt-py"; - version = "0.7.6"; + version = "0.8.0"; + format = "setuptools"; disabled = pythonOlder "3.6"; @@ -18,7 +19,7 @@ buildPythonPackage rec { owner = "VirusTotal"; repo = pname; rev = version; - sha256 = "sha256-Gf3hNCXioaLiQ0fZWPe9PO2YQeId4ZLmWsSZ5WvjSk0="; + sha256 = "sha256-j9TlZDzl9sWFPt8TeuyoJi01JhyPBVXs1w3YJMoVvLw="; }; propagatedBuildInputs = [ @@ -36,7 +37,9 @@ buildPythonPackage rec { --replace "'pytest-runner'" "" ''; - pythonImportsCheck = [ "vt" ]; + pythonImportsCheck = [ + "vt" + ]; meta = with lib; { description = "Python client library for VirusTotal"; diff --git a/pkgs/tools/security/ioccheck/default.nix b/pkgs/tools/security/ioccheck/default.nix index 1ad7bfd85fe2..455819ed1cf7 100644 --- a/pkgs/tools/security/ioccheck/default.nix +++ b/pkgs/tools/security/ioccheck/default.nix @@ -8,8 +8,6 @@ python3.pkgs.buildPythonApplication rec { version = "unstable-2021-09-29"; format = "pyproject"; - disabled = python3.pythonOlder "3.7"; - src = fetchFromGitHub { owner = "ranguli"; repo = pname; @@ -43,10 +41,13 @@ python3.pkgs.buildPythonApplication rec { postPatch = '' # Can be removed with the next release substituteInPlace pyproject.toml \ - --replace '"hurry.filesize" = "^0.9"' "" + --replace '"hurry.filesize" = "^0.9"' "" \ + --replace 'vt-py = ">=0.6.1,<0.8.0"' 'vt-py = ">=0.6.1"' ''; - pythonImportsCheck = [ "ioccheck" ]; + pythonImportsCheck = [ + "ioccheck" + ]; meta = with lib; { description = "Tool for researching IOCs";