python3Packages.mysql-connector: allow use of clang for darwin
This commit is contained in:
parent
b4d6c7a42e
commit
4bdf850d1b
1 changed files with 7 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
, fetchFromGitHub
|
||||
, protobuf
|
||||
, pythonOlder
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -29,6 +30,12 @@ buildPythonPackage rec {
|
|||
# 10.12. The patch reverts
|
||||
# https://github.com/mysql/mysql-connector-python/commit/d1e89fd3d7391084cdf35b0806cb5d2a4b413654
|
||||
./0001-Revert-Fix-MacOS-wheels-platform-tag.patch
|
||||
|
||||
# Allow for clang to be used to build native extensions
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mysql/mysql-connector-python/commit/fd24ce9dc8c60cc446a8e69458f7851d047c7831.patch";
|
||||
sha256 = "sha256-WvU1iB53MavCsksKCjGvUl7R3Ww/38alxxMVzjpr5Xg=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -44,7 +51,6 @@ buildPythonPackage rec {
|
|||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "A MySQL driver";
|
||||
longDescription = ''
|
||||
A MySQL driver that does not depend on MySQL C client libraries and
|
||||
|
|
Loading…
Reference in a new issue