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
, pytz
, hypothesis
, enum34
}:
buildPythonPackage rec {
@ -36,7 +37,7 @@ buildPythonPackage rec {
packaging
six
] ++ stdenv.lib.optional (!isPyPy) cffi
++ stdenv.lib.optionals isPy27 [ ipaddress ];
++ stdenv.lib.optionals isPy27 [ ipaddress enum34 ];
checkInputs = [
cryptography_vectors