at 22.05-pre 818 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, cmake 5, pybind11 6, numpy 7, scipy 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "qdldl"; 13 version = "0.1.5.post0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "c392c7427651d8b226423c7aba4a0f2338a1f38a4bbdabac6bc4afd8bc934f06"; 18 }; 19 20 dontUseCmakeConfigure = true; 21 nativeBuildInputs = [ cmake ]; 22 23 buildInputs = [ pybind11 ]; 24 25 propagatedBuildInputs = [ 26 numpy 27 scipy 28 ]; 29 30 pythonImportsCheck = [ "qdldl" ]; 31 checkInputs = [ pytestCheckHook ]; 32 33 meta = with lib; { 34 description = "A free LDL factorization routine"; 35 homepage = "https://github.com/oxfordcontrol/qdldl"; 36 downloadPage = "https://github.com/oxfordcontrol/qdldl-python"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ drewrisinger ]; 39 }; 40}