python3Packages.sslyze: 3.0.0 -> 3.1.0
This commit is contained in:
parent
a126dda7bc
commit
980c4c3c2f
|
@ -1,30 +1,30 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytest
|
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, nassl
|
, nassl
|
||||||
, cryptography
|
, cryptography
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
, faker
|
, faker
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sslyze";
|
pname = "sslyze";
|
||||||
version = "3.0.8";
|
version = "3.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nabla-c0d3";
|
owner = "nabla-c0d3";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "06mwzxw6xaqin2gwzcqb9r7qhbyx3k7zcxygxywi2bpxyjv9lq32";
|
sha256 = "02p0lgpkfq88dys0dqw0z8bpg9g8pds2lvs9awd9f2w5cb1pwr83";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "cryptography>=2.6,<=2.9" "cryptography"
|
--replace "cryptography>=2.6,<3.3" "cryptography>=2.6,<4.0"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
# Most of the tests are online; hence, applicable tests are listed
|
# Most of the tests are online; hence, applicable tests are listed
|
||||||
|
|
Loading…
Reference in New Issue