mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
python3Packages.awscrt: fix darwin build
(cherry picked from commit 21dc93570f)
This commit is contained in:
committed by
github-actions[bot]
parent
d1b4563ec1
commit
d01cce0281
@@ -33,6 +33,11 @@ buildPythonPackage rec {
|
||||
"strictoverflow"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "extra_link_args += ['-Wl,-fatal_warnings']" ""
|
||||
'';
|
||||
|
||||
# gcc <10 is not supported, LLVM on darwin is just fine
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
@@ -52,7 +57,6 @@ buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
homepage = "https://github.com/awslabs/aws-crt-python";
|
||||
description = "Python bindings for the AWS Common Runtime";
|
||||
license = licenses.asl20;
|
||||
|
||||
Reference in New Issue
Block a user