python3Packages.sslyze: 3.0.0 -> 3.1.0

authored by Vincent Haupert and committed by Jonathan Ringer 980c4c3c a126dda7

+5 -5
+5 -5
pkgs/development/python-modules/sslyze/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 - , pytest 4 3 , buildPythonPackage 5 4 , nassl 6 5 , cryptography 7 6 , typing-extensions 8 7 , faker 8 + , pytestCheckHook 9 9 }: 10 10 11 11 buildPythonPackage rec { 12 12 pname = "sslyze"; 13 - version = "3.0.8"; 13 + version = "3.1.0"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "nabla-c0d3"; 17 17 repo = pname; 18 18 rev = version; 19 - sha256 = "06mwzxw6xaqin2gwzcqb9r7qhbyx3k7zcxygxywi2bpxyjv9lq32"; 19 + sha256 = "02p0lgpkfq88dys0dqw0z8bpg9g8pds2lvs9awd9f2w5cb1pwr83"; 20 20 }; 21 21 22 22 patchPhase = '' 23 23 substituteInPlace setup.py \ 24 - --replace "cryptography>=2.6,<=2.9" "cryptography" 24 + --replace "cryptography>=2.6,<3.3" "cryptography>=2.6,<4.0" 25 25 ''; 26 26 27 - checkInputs = [ pytest ]; 27 + checkInputs = [ pytestCheckHook ]; 28 28 29 29 checkPhase = '' 30 30 # Most of the tests are online; hence, applicable tests are listed