Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 809 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.post3"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-acCS9uH8I/t3moCmLm/N/i66BcklhgJIxNZ1T0c2k48="; 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 nativeCheckInputs = [ 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}