python2Packages.cryptography: add missing ipaddress dependency

This commit is contained in:
Jonathan Ringer 2020-04-07 12:36:45 -07:00 committed by Jon
parent 37be0ab53b
commit b3ef0f3ce7

View File

@ -2,6 +2,8 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch , fetchpatch
, isPy27
, ipaddress
, openssl , openssl
, cryptography_vectors , cryptography_vectors
, darwin , darwin
@ -33,7 +35,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
packaging packaging
six six
] ++ stdenv.lib.optional (!isPyPy) cffi; ] ++ stdenv.lib.optional (!isPyPy) cffi
++ stdenv.lib.optionals isPy27 [ ipaddress ];
checkInputs = [ checkInputs = [
cryptography_vectors cryptography_vectors