23 buildPythonPackage rec {
24 pname = "insightface";
26 format = "setuptools";
28 disabled = pythonOlder "3.8";
31 inherit pname version;
32 hash = "sha256-8ZH3GWEuuzcBj0GTaBRQBUTND4bm/NZ2wCPzVMZo3fc=";
39 propagatedBuildInputs = [
55 pythonImportsCheck = [
61 passthru.tests.version = testers.testVersion {
62 package = insightface;
63 command = "insightface-cli --help";
64 # Doesn't support --version but we still want to make sure the cli is executable
65 # and returns the help output
69 doCheck = false; # Upstream has no tests
72 description = "State-of-the-art 2D and 3D Face Analysis Project";
73 mainProgram = "insightface-cli";
74 homepage = "https://github.com/deepinsight/insightface";
75 license = licenses.mit;
76 maintainers = with maintainers; [ oddlama ];