python3Packages.ai-edge-litert: use badPlatforms instead of broken to disable on darwin

This commit is contained in:
Gaetan Lepage 2026-07-04 19:39:27 +00:00
commit cc02ad6df4

View file

@ -84,7 +84,6 @@ buildPythonPackage {
passthru.updateScript = ./update.py;
meta = {
broken = stdenv.hostPlatform.isDarwin; # elftools.common.exceptions.ELFError: Magic number does not match
changelog = "https://github.com/google-ai-edge/LiteRT/releases/tag/v${release.version}";
description = "LiteRT is for mobile and embedded devices";
downloadPage = "https://github.com/google-ai-edge/LiteRT";
@ -93,5 +92,9 @@ buildPythonPackage {
platforms = lib.attrNames platforms;
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
maintainers = with lib.maintainers; [ hexa ];
badPlatforms = [
# elftools.common.exceptions.ELFError: Magic number does not match
lib.systems.inspect.patterns.isDarwin
];
};
}