python3Packages.cryptography: add missing libiconv build dependency on darwin
Fixing the following: ``` error: linking with `/nix/store/l3ca456ppdy8hi9hc0rvyr6mrm76si08-clang-wrapper-11.1.0/bin/cc` failed: exit code: 1 = note: ld: library not found for -liconv ```
This commit is contained in:
parent
8a5e4be6b6
commit
703579f722
2 changed files with 5 additions and 2 deletions
|
@ -15,6 +15,7 @@
|
|||
, pytest
|
||||
, pytest-subtests
|
||||
, pretend
|
||||
, libiconv
|
||||
, iso8601
|
||||
, pytz
|
||||
, hypothesis
|
||||
|
@ -48,7 +49,7 @@ buildPythonPackage rec {
|
|||
] ++ (with rustPlatform; [ rust.cargo rust.rustc ]);
|
||||
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security libiconv ];
|
||||
propagatedBuildInputs = [
|
||||
packaging
|
||||
six
|
||||
|
|
|
@ -1590,7 +1590,9 @@ in {
|
|||
|
||||
cryptacular = callPackage ../development/python-modules/cryptacular { };
|
||||
|
||||
cryptography = callPackage ../development/python-modules/cryptography { };
|
||||
cryptography = callPackage ../development/python-modules/cryptography {
|
||||
inherit (pkgs.darwin) libiconv;
|
||||
};
|
||||
|
||||
cryptography_vectors = callPackage ../development/python-modules/cryptography/vectors.nix { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue