python2.pkgs.cryptography: fixup build of dependants

... most notably fix pyopenssl.  I can't say I really understand this,
but the commit seems safe enough.
This commit is contained in:
Vladimír Čunát 2020-04-18 07:25:52 +02:00
parent acb4710214
commit 312e9037f4
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -17,6 +17,7 @@
, iso8601 , iso8601
, pytz , pytz
, hypothesis , hypothesis
, enum34
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -36,7 +37,7 @@ buildPythonPackage rec {
packaging packaging
six six
] ++ stdenv.lib.optional (!isPyPy) cffi ] ++ stdenv.lib.optional (!isPyPy) cffi
++ stdenv.lib.optionals isPy27 [ ipaddress ]; ++ stdenv.lib.optionals isPy27 [ ipaddress enum34 ];
checkInputs = [ checkInputs = [
cryptography_vectors cryptography_vectors