nixpkgs/pkgs/development/python-modules/qdldl/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

42 lines
834 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, cmake
, pybind11
, numpy
, scipy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "qdldl";
version = "0.1.7.post0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-80ahFMg0LubU29ZHHu8xQZn7Jo0797lYhco1H94rAj8=";
};
dontUseCmakeConfigure = true;
nativeBuildInputs = [ cmake ];
buildInputs = [ pybind11 ];
propagatedBuildInputs = [
numpy
scipy
];
pythonImportsCheck = [ "qdldl" ];
nativeCheckInputs = [ 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 ];
};
}