scs: 3.2.7 -> 3.2.8 (#433462)

authored by Gaétan Lepage and committed by GitHub 4ecfff8e 01486022

+14 -11
+10 -8
pkgs/by-name/sc/scs/package.nix
··· 7 gfortran, 8 fixDarwinDylibNames, 9 nix-update-script, 10 }: 11 12 assert (!blas.isILP64) && (!lapack.isILP64); 13 14 - stdenv.mkDerivation rec { 15 pname = "scs"; 16 - version = "3.2.7"; 17 18 src = fetchFromGitHub { 19 owner = "cvxgrp"; 20 repo = "scs"; 21 - tag = version; 22 - hash = "sha256-Y28LrYUuDaXPO8sce1pJIfG3A03rw7BumVgxCIKRn+U="; 23 }; 24 25 # Actually link and add libgfortran to the rpath 26 postPatch = '' 27 substituteInPlace scs.mk \ 28 - --replace "#-lgfortran" "-lgfortran" \ 29 - --replace "gcc" "cc" 30 ''; 31 32 nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; ··· 54 55 passthru = { 56 updateScript = nix-update-script { }; 57 }; 58 59 meta = { ··· 62 Numerical optimization package for solving large-scale convex cone problems 63 ''; 64 homepage = "https://github.com/cvxgrp/scs"; 65 - changelog = "https://github.com/cvxgrp/scs/releases/tag/${version}"; 66 license = lib.licenses.mit; 67 platforms = lib.platforms.all; 68 maintainers = with lib.maintainers; [ bhipple ]; 69 }; 70 - }
··· 7 gfortran, 8 fixDarwinDylibNames, 9 nix-update-script, 10 + python3Packages, 11 }: 12 13 assert (!blas.isILP64) && (!lapack.isILP64); 14 15 + stdenv.mkDerivation (finalAttrs: { 16 pname = "scs"; 17 + version = "3.2.8"; 18 19 src = fetchFromGitHub { 20 owner = "cvxgrp"; 21 repo = "scs"; 22 + tag = finalAttrs.version; 23 + hash = "sha256-BPVuihxLUuBbavKVhgdo1MdzkkDq2Nm/EYiAY/jwiqU="; 24 }; 25 26 # Actually link and add libgfortran to the rpath 27 postPatch = '' 28 substituteInPlace scs.mk \ 29 + --replace-fail "# -lgfortran" "-lgfortran" \ 30 + --replace-fail "gcc" "cc" 31 ''; 32 33 nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; ··· 55 56 passthru = { 57 updateScript = nix-update-script { }; 58 + tests.scs-python = python3Packages.scs; 59 }; 60 61 meta = { ··· 64 Numerical optimization package for solving large-scale convex cone problems 65 ''; 66 homepage = "https://github.com/cvxgrp/scs"; 67 + changelog = "https://github.com/cvxgrp/scs/releases/tag/${finalAttrs.version}"; 68 license = lib.licenses.mit; 69 platforms = lib.platforms.all; 70 maintainers = with lib.maintainers; [ bhipple ]; 71 }; 72 + })
+4 -3
pkgs/development/python-modules/scs/default.nix
··· 1 { 2 lib, 3 stdenv, 4 buildPythonPackage, 5 fetchFromGitHub, 6 ··· 21 22 buildPythonPackage rec { 23 pname = "scs"; 24 - version = "3.2.7.post2"; 25 pyproject = true; 26 27 src = fetchFromGitHub { 28 owner = "bodono"; 29 repo = "scs-python"; 30 tag = version; 31 - hash = "sha256-A626gK30J4e/TrJMXYc+jMgYw7fNcnWfnTeXlyYQNMM="; 32 fetchSubmodules = true; 33 }; 34 35 postPatch = '' ··· 63 Can solve: linear programs (LPs), second-order cone programs (SOCPs), semidefinite programs (SDPs), 64 exponential cone programs (ECPs), and power cone programs (PCPs), or problems with any combination of those cones. 65 ''; 66 - homepage = "https://github.com/cvxgrp/scs"; # upstream C package 67 downloadPage = "https://github.com/bodono/scs-python"; 68 license = lib.licenses.mit; 69 maintainers = with lib.maintainers; [ drewrisinger ];
··· 1 { 2 lib, 3 stdenv, 4 + pkgs, 5 buildPythonPackage, 6 fetchFromGitHub, 7 ··· 22 23 buildPythonPackage rec { 24 pname = "scs"; 25 + inherit (pkgs.scs) version; 26 pyproject = true; 27 28 src = fetchFromGitHub { 29 owner = "bodono"; 30 repo = "scs-python"; 31 tag = version; 32 fetchSubmodules = true; 33 + hash = "sha256-Dv0LDY6JFFq/dpcDsnU+ErnHJ8RDpaNhrRjEwY31Szk="; 34 }; 35 36 postPatch = '' ··· 64 Can solve: linear programs (LPs), second-order cone programs (SOCPs), semidefinite programs (SDPs), 65 exponential cone programs (ECPs), and power cone programs (PCPs), or problems with any combination of those cones. 66 ''; 67 + inherit (pkgs.scs.meta) homepage; 68 downloadPage = "https://github.com/bodono/scs-python"; 69 license = lib.licenses.mit; 70 maintainers = with lib.maintainers; [ drewrisinger ];