From 05e03dbdc709c8c522b7aed04010bd7da9febee8 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 17 Jun 2024 14:00:55 +0200 Subject: [PATCH] python311Packages.insightface: mark as broken on aarch64-linux --- .../python-modules/insightface/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/insightface/default.nix b/pkgs/development/python-modules/insightface/default.nix index 1403f094807a..1199e09eae0d 100644 --- a/pkgs/development/python-modules/insightface/default.nix +++ b/pkgs/development/python-modules/insightface/default.nix @@ -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"; }; }