python3Packages.magika: correct meta.mainProgram (#408789)

This commit is contained in:
Yohann Boniface
2025-05-20 00:01:19 +02:00
committed by GitHub
@@ -44,9 +44,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Magika: Detect file content types with deep learning";
homepage = "https://github.com/google/magika";
changelog = "https://github.com/google/magika/blob/python-v${version}/python/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ mihaimaruseac ];
mainProgram = "magika";
mainProgram = "magika-python-client";
# Currently, disabling on AArch64 as it onnx runtime crashes on ofborg
broken = stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux;
};