python3Packages.qdldl: init at 0.1.5.post0

Dependency of python3Packages.osqp
This commit is contained in:
Drew Risinger 2021-01-11 19:34:24 -05:00
parent 6bfbb2ddd8
commit 93fcc6b553
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchPypi
, cmake
, pybind11
, numpy
, scipy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "qdldl";
version = "0.1.5.post0";
src = fetchPypi {
inherit pname version;
sha256 = "c392c7427651d8b226423c7aba4a0f2338a1f38a4bbdabac6bc4afd8bc934f06";
};
dontUseCmakeConfigure = true;
nativeBuildInputs = [ cmake ];
buildInputs = [ pybind11 ];
propagatedBuildInputs = [
numpy
scipy
];
pythonImportsCheck = [ "qdldl" ];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "A free LDL factorization routine";
homepage = "https://github.com/oxfordcontrol/qdldl";
downloadPage = "https://github.com/oxfordcontrol/qdldl-python";
license = licenses.asl20;
maintainers = with maintainers; [ drewrisinger ];
};
}

View File

@ -6388,6 +6388,8 @@ in {
qdarkstyle = callPackage ../development/python-modules/qdarkstyle { };
qdldl = callPackage ../development/python-modules/qdldl { };
qds_sdk = callPackage ../development/python-modules/qds_sdk { };
qimage2ndarray = callPackage ../development/python-modules/qimage2ndarray { };