diff --git a/pkgs/by-name/ce/ceph/old-python-packages/cryptography.nix b/pkgs/by-name/ce/ceph/old-python-packages/cryptography.nix index 6e4713428d87..5afd24f0b573 100644 --- a/pkgs/by-name/ce/ceph/old-python-packages/cryptography.nix +++ b/pkgs/by-name/ce/ceph/old-python-packages/cryptography.nix @@ -11,16 +11,13 @@ rustc, setuptools-rust, openssl, - Security ? null, isPyPy, cffi, pkg-config, pytestCheckHook, pytest-subtests, - pythonOlder, pretend, libiconv, - libxcrypt, iso8601, py, pytz, @@ -90,8 +87,7 @@ buildPythonPackage rec { ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv - ] - ++ lib.optionals (pythonOlder "3.9") [ libxcrypt ]; + ]; propagatedBuildInputs = lib.optionals (!isPyPy) [ cffi ];