24 buildPythonPackage rec {
29 src = fetchFromGitHub {
32 rev = "refs/tags/${version}";
33 hash = "sha256-ZhY4h0C8aF3IjD9NMtevcNTSqX+tIUao9bC+WlP+uDk=";
34 fetchSubmodules = true;
38 substituteInPlace pyproject.toml \
39 --replace-fail "numpy >= 2.0.0" "numpy"
49 if stdenv.hostPlatform.isDarwin then
62 nativeCheckInputs = [ pytestCheckHook ];
63 pythonImportsCheck = [ "scs" ];
66 description = "Python interface for SCS: Splitting Conic Solver";
68 Solves convex cone programs via operator splitting.
69 Can solve: linear programs (LPs), second-order cone programs (SOCPs), semidefinite programs (SDPs),
70 exponential cone programs (ECPs), and power cone programs (PCPs), or problems with any combination of those cones.
72 homepage = "https://github.com/cvxgrp/scs"; # upstream C package
73 downloadPage = "https://github.com/bodono/scs-python";
74 license = lib.licenses.mit;
75 maintainers = with lib.maintainers; [ drewrisinger ];