From 312e9037f49bf0b163d071dc68fe76c2b5d77319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 18 Apr 2020 07:25:52 +0200 Subject: [PATCH] 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. --- pkgs/development/python-modules/cryptography/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/cryptography/default.nix b/pkgs/development/python-modules/cryptography/default.nix index 22f647b216d..9b14f4a6fc7 100644 --- a/pkgs/development/python-modules/cryptography/default.nix +++ b/pkgs/development/python-modules/cryptography/default.nix @@ -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