summary refs log tree commit diff
path: root/pkgs/development/python-modules/sslyze
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/sslyze')
-rw-r--r--pkgs/development/python-modules/sslyze/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/sslyze/default.nix b/pkgs/development/python-modules/sslyze/default.nix
index c127f6ea2e5..24b334ef882 100644
--- a/pkgs/development/python-modules/sslyze/default.nix
+++ b/pkgs/development/python-modules/sslyze/default.nix
@@ -21,7 +21,7 @@ buildPythonPackage rec {
 
   patchPhase = ''
     substituteInPlace setup.py \
-      --replace "cryptography>=2.6,<=2.9" "cryptography>=2.6,<=3"
+      --replace "cryptography>=2.6,<=2.9" "cryptography"
   '';
 
   checkInputs = [ pytest ];
@@ -39,6 +39,7 @@ buildPythonPackage rec {
       tests/plugins_tests/certificate_info/test_certificate_utils.py \
       -k "not (TestScanner and test_client_certificate_missing)"
   '';
+  pythonImportsCheck = [ "sslyze" ];
 
   propagatedBuildInputs = [ nassl cryptography typing-extensions faker ];