From 2e6fb229923cc2fd7275d26ea87f22898bdc24fa Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 7 Apr 2020 12:36:45 -0700 Subject: [PATCH] python2Packages.cryptography: add missing ipaddress dependency --- pkgs/development/python-modules/cryptography/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/cryptography/default.nix b/pkgs/development/python-modules/cryptography/default.nix index 8d655de97b8..22f647b216d 100644 --- a/pkgs/development/python-modules/cryptography/default.nix +++ b/pkgs/development/python-modules/cryptography/default.nix @@ -2,6 +2,8 @@ , buildPythonPackage , fetchPypi , fetchpatch +, isPy27 +, ipaddress , openssl , cryptography_vectors , darwin @@ -33,7 +35,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ packaging six - ] ++ stdenv.lib.optional (!isPyPy) cffi; + ] ++ stdenv.lib.optional (!isPyPy) cffi + ++ stdenv.lib.optionals isPy27 [ ipaddress ]; checkInputs = [ cryptography_vectors