Unverified Commit 2e2f3024 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

Merge pull request #320521 from GaetanLepage/insightface

python311Packages.insightface: mark as broken on aarch64-linux
parents b5447275 05e03dbd
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -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";
  };
}