mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
python3Packages.ltpycld2: fixup build with gcc14 (#369135)
This commit is contained in:
@@ -21,11 +21,14 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "pycld2" ];
|
||||
|
||||
meta = with lib; {
|
||||
# Fix build with gcc14
|
||||
# https://github.com/aboSamoor/pycld2/pull/62
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
||||
|
||||
meta = {
|
||||
description = "Python bindings around Google Chromium's embedded compact language detection library (CLD2)";
|
||||
homepage = "https://github.com/LibreTranslate/pycld2";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ misuzu ];
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ misuzu ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user