1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 cmake, 6 numpy, 7 pybind11, 8 setuptools, 9 scipy, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "qdldl"; 15 version = "0.1.7.post5"; 16 pyproject = true; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-CxOZ4cSbW+1arI/WPvCKtwjTQMN/tCb+ABKLwfNrKG4="; 21 }; 22 23 dontUseCmakeConfigure = true; 24 25 build-system = [ 26 cmake 27 numpy 28 pybind11 29 setuptools 30 ]; 31 32 dependencies = [ 33 numpy 34 scipy 35 ]; 36 37 pythonImportsCheck = [ "qdldl" ]; 38 nativeCheckInputs = [ pytestCheckHook ]; 39 40 meta = with lib; { 41 description = "Free LDL factorization routine"; 42 homepage = "https://github.com/oxfordcontrol/qdldl"; 43 downloadPage = "https://github.com/oxfordcontrol/qdldl-python"; 44 license = licenses.asl20; 45 maintainers = with maintainers; [ drewrisinger ]; 46 }; 47}