Merge pull request #320521 from GaetanLepage/insightface

python311Packages.insightface: mark as broken on aarch64-linux
This commit is contained in:
Gaétan Lepage 2024-06-17 14:52:20 +02:00 committed by GitHub
commit 2e2f302431
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,12 +19,13 @@
tensorboard,
testers,
tqdm,
stdenv,
}:
buildPythonPackage rec {
pname = "insightface";
version = "0.7.3";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.8";
@ -33,9 +34,9 @@ buildPythonPackage rec {
hash = "sha256-8ZH3GWEuuzcBj0GTaBRQBUTND4bm/NZ2wCPzVMZo3fc=";
};
nativeBuildInputs = [ cython ];
build-system = [ cython ];
propagatedBuildInputs = [
dependencies = [
easydict
matplotlib
mxnet
@ -67,11 +68,13 @@ buildPythonPackage rec {
doCheck = false; # Upstream has no tests
meta = with lib; {
meta = {
description = "State-of-the-art 2D and 3D Face Analysis Project";
mainProgram = "insightface-cli";
homepage = "https://github.com/deepinsight/insightface";
license = licenses.mit;
maintainers = with maintainers; [ oddlama ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ oddlama ];
# terminate called after throwing an instance of 'onnxruntime::OnnxRuntimeException'
broken = stdenv.system == "aarch64-linux";
};
}