Merge pull request #145327 from fabaff/bump-vt-py
This commit is contained in:
commit
e541b125dc
2 changed files with 11 additions and 7 deletions
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue