python3Packages.ltpycld2: fixup build with gcc14 (#369135)

authored by Weijia Wang and committed by GitHub 57c41914 a8688aab

+7 -4
+7 -4
pkgs/development/python-modules/ltpycld2/default.nix
··· 21 22 pythonImportsCheck = [ "pycld2" ]; 23 24 - meta = with lib; { 25 description = "Python bindings around Google Chromium's embedded compact language detection library (CLD2)"; 26 homepage = "https://github.com/LibreTranslate/pycld2"; 27 - license = licenses.asl20; 28 - maintainers = with maintainers; [ misuzu ]; 29 - broken = stdenv.hostPlatform.isDarwin; 30 }; 31 }
··· 21 22 pythonImportsCheck = [ "pycld2" ]; 23 24 + # Fix build with gcc14 25 + # https://github.com/aboSamoor/pycld2/pull/62 26 + env.NIX_CFLAGS_COMPILE = "-Wno-narrowing"; 27 + 28 + meta = { 29 description = "Python bindings around Google Chromium's embedded compact language detection library (CLD2)"; 30 homepage = "https://github.com/LibreTranslate/pycld2"; 31 + license = lib.licenses.asl20; 32 + maintainers = with lib.maintainers; [ misuzu ]; 33 }; 34 }