about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/iocextract/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/iocextract/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/iocextract/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/iocextract/default.nix b/nixpkgs/pkgs/development/python-modules/iocextract/default.nix
index 9a2f5a2ec410..5831ab80e14b 100644
--- a/nixpkgs/pkgs/development/python-modules/iocextract/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/iocextract/default.nix
@@ -4,11 +4,12 @@
 , pytestCheckHook
 , pythonOlder
 , regex
+, requests
 }:
 
 buildPythonPackage rec {
   pname = "iocextract";
-  version = "1.15.2";
+  version = "1.16.0";
   format = "setuptools";
 
   disabled = pythonOlder "3.7";
@@ -17,11 +18,12 @@ buildPythonPackage rec {
     owner = "InQuest";
     repo = "python-iocextract";
     rev = "refs/tags/v${version}";
-    hash = "sha256-l0TGi3Y3/Dcwyp80eRWYYlDaDDJdpc31fcxdYEVvQas=";
+    hash = "sha256-jwMu4G146FpH6aFCiZK9tI/3CKnZYC2RCtO9QXXaquQ=";
   };
 
   propagatedBuildInputs = [
     regex
+    requests
   ];
 
   nativeCheckInputs = [
@@ -36,6 +38,11 @@ buildPythonPackage rec {
     "tests.py"
   ];
 
+  disabledTests = [
+    # AssertionError: 'http://exampledotcom/test' != 'http://example.com/test'
+    "test_refang_data"
+  ];
+
   meta = with lib; {
     description = "Module to extract Indicator of Compromises (IOC)";
     homepage = "https://github.com/InQuest/python-iocextract";