@@ -1,30 +1,30 @@
11{ lib
22, fetchFromGitHub
3−, pytest
43, buildPythonPackage
54, nassl
65, cryptography
76, typing-extensions
87, faker
8+, pytestCheckHook
99}:
1010
1111buildPythonPackage rec {
1212 pname = "sslyze";
13− version = "3.0.8";
13+ version = "3.1.0";
1414
1515 src = fetchFromGitHub {
1616 owner = "nabla-c0d3";
1717 repo = pname;
1818 rev = version;
19− sha256 = "06mwzxw6xaqin2gwzcqb9r7qhbyx3k7zcxygxywi2bpxyjv9lq32";
19+ sha256 = "02p0lgpkfq88dys0dqw0z8bpg9g8pds2lvs9awd9f2w5cb1pwr83";
2020 };
2121
2222 patchPhase = ''
2323 substituteInPlace setup.py \
24− --replace "cryptography>=2.6,<=2.9" "cryptography"
24+ --replace "cryptography>=2.6,<3.3" "cryptography>=2.6,<4.0"
2525 '';
2626
27− checkInputs = [ pytest ];
27+ checkInputs = [ pytestCheckHook ];
2828
2929 checkPhase = ''
3030 # Most of the tests are online; hence, applicable tests are listed