about summary refs log tree commit diff
path: root/pkgs/tools/security/ioccheck
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-11-10 10:24:07 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-11-10 10:24:07 +0100
commitf9817ccd57d0da836cb88fb5645d09ff904669b1 (patch)
tree476b291c2078b30b00201c1a9ac6fa5e5adde5e5 /pkgs/tools/security/ioccheck
parent93efc8846c0036ddc615ade13009d88428c893e0 (diff)
ioccheck: remove constraint of vt-py
Diffstat (limited to 'pkgs/tools/security/ioccheck')
-rw-r--r--pkgs/tools/security/ioccheck/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/security/ioccheck/default.nix b/pkgs/tools/security/ioccheck/default.nix
index 1ad7bfd85fe29..455819ed1cf77 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";