pythonPackages.cffi: cffi is a native build input as well

This commit is contained in:
Frederik Rietdijk 2020-11-19 20:57:37 +01:00
parent 27d3a18ac7
commit 489912ee8b

View file

@ -31,13 +31,20 @@ buildPythonPackage rec {
outputs = [ "out" "dev" ];
nativeBuildInputs = stdenv.lib.optionals (!isPyPy) [
cffi
];
buildInputs = [ openssl ]
++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
propagatedBuildInputs = [
packaging
six
] ++ stdenv.lib.optional (!isPyPy) cffi
++ stdenv.lib.optionals isPy27 [ ipaddress enum34 ];
] ++ stdenv.lib.optionals (!isPyPy) [
cffi
] ++ stdenv.lib.optionals isPy27 [
ipaddress enum34
];
checkInputs = [
cryptography_vectors