13 buildPythonPackage rec {
14 inherit (scs) pname version;
16 src = fetchFromGitHub {
19 rev = "f02abdc0e2e0a5851464e30f6766ccdbb19d73f0"; # need to choose commit manually, untagged
20 sha256 = "174b5s7cwgrn1m55jlrszdl403zhpzc4yl9acs6kjv9slmg1mmjr";
33 propagatedBuildInputs = [
38 checkInputs = [ nose ];
42 pythonImportsCheck = [ "scs" ];
45 description = "Python interface for SCS: Splitting Conic Solver";
47 Solves convex cone programs via operator splitting.
48 Can solve: linear programs (LPs), second-order cone programs (SOCPs), semidefinite programs (SDPs),
49 exponential cone programs (ECPs), and power cone programs (PCPs), or problems with any combination of those cones.
51 homepage = "https://github.com/cvxgrp/scs"; # upstream C package
52 downloadPage = "https://github.com/bodono/scs-python";
53 license = licenses.gpl3;
54 maintainers = with maintainers; [ drewrisinger ];