Merge pull request #182652 from lopsided98/grpcio-armv6l

python3Packages.grpcio: add patch to fix armv6l build
This commit is contained in:
Jörg Thalheim 2022-07-24 09:40:36 +01:00 committed by GitHub
commit 86da8024aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
{ lib, stdenv
, buildPythonPackage
, fetchpatch
, grpc
, six
, protobuf
@ -17,6 +18,15 @@ buildPythonPackage rec {
inherit (grpc) src version;
pname = "grpcio";
patches = [
# Fix build on armv6l
# https://github.com/grpc/grpc/pull/30401
(fetchpatch {
url = "https://github.com/grpc/grpc/commit/65dc9f3edeee4c2d0e9b30d5a3ee63175437bea3.patch";
hash = "sha256-pS4FsCcSjmjSs3J5Y96UonkxqPwfpkyhrEM0t6HaMd0=";
})
];
outputs = [ "out" "dev" ];
nativeBuildInputs = [ cython pkg-config ];