{ lib, buildPythonPackage, fetchPypi, cmake, numpy, pybind11, setuptools, scipy, pytestCheckHook, }: buildPythonPackage rec { pname = "qdldl"; version = "0.1.7.post5"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-CxOZ4cSbW+1arI/WPvCKtwjTQMN/tCb+ABKLwfNrKG4="; }; dontUseCmakeConfigure = true; build-system = [ cmake numpy pybind11 setuptools ]; dependencies = [ numpy scipy ]; pythonImportsCheck = [ "qdldl" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "Free LDL factorization routine"; homepage = "https://github.com/oxfordcontrol/qdldl"; downloadPage = "https://github.com/oxfordcontrol/qdldl-python"; license = licenses.asl20; maintainers = with maintainers; [ drewrisinger ]; }; }