3
0
Fork 0
forked from mirrors/nixpkgs

python39Packages.cryptography: remove darwin from inputs

This commit is contained in:
Sandro Jäckel 2022-03-23 06:31:52 +01:00
parent 85b84125e1
commit ece9e8200f
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 4 additions and 2 deletions

View file

@ -5,7 +5,7 @@
, setuptools-rust
, openssl
, cryptography_vectors
, darwin
, Security
, packaging
, six
, isPyPy
@ -47,7 +47,8 @@ buildPythonPackage rec {
] ++ (with rustPlatform; [ rust.cargo rust.rustc ]);
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security libiconv ];
++ lib.optionals stdenv.isDarwin [ Security libiconv ];
propagatedBuildInputs = [
packaging
six

View file

@ -1917,6 +1917,7 @@ in {
cryptography = callPackage ../development/python-modules/cryptography {
inherit (pkgs.darwin) libiconv;
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
};
cryptography_vectors = callPackage ../development/python-modules/cryptography/vectors.nix { };