Files
nixpkgs/pkgs/development/python-modules/qdldl/default.nix
2025-01-14 18:09:12 +09:00

48 lines
851 B
Nix

{
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 ];
};
}