Merge pull request #114616 from bobrik/ivan/grpcio-darwin

python3Packages.grpcio: remove cctools from build inputs
This commit is contained in:
Sandro 2021-03-01 15:59:21 +01:00 committed by GitHub
commit 1f372a609b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,5 @@
{ lib, stdenv { lib, stdenv
, buildPythonPackage , buildPythonPackage
, darwin
, grpc , grpc
, six , six
, protobuf , protobuf
@ -20,8 +19,7 @@ buildPythonPackage rec {
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
nativeBuildInputs = [ cython pkg-config ] nativeBuildInputs = [ cython pkg-config ];
++ lib.optional stdenv.isDarwin darwin.cctools;
buildInputs = [ c-ares openssl zlib ]; buildInputs = [ c-ares openssl zlib ];
propagatedBuildInputs = [ six protobuf ] propagatedBuildInputs = [ six protobuf ]