From b4c61eb26d6ca8bfd380aec726aacf4cebd65d1c Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 24 Aug 2024 17:06:10 +0200 Subject: [PATCH] scs: 3.2.3 -> 3.2.7 Diff: https://github.com/cvxgrp/scs/compare/3.2.3...3.2.7 Changelog: https://github.com/cvxgrp/scs/releases/tag/3.2.7 --- pkgs/by-name/sc/scs/package.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/sc/scs/package.nix b/pkgs/by-name/sc/scs/package.nix index 9f4d835a4b2c..49911355e2db 100644 --- a/pkgs/by-name/sc/scs/package.nix +++ b/pkgs/by-name/sc/scs/package.nix @@ -6,19 +6,20 @@ lapack, gfortran, fixDarwinDylibNames, + nix-update-script, }: assert (!blas.isILP64) && (!lapack.isILP64); stdenv.mkDerivation rec { pname = "scs"; - version = "3.2.3"; + version = "3.2.7"; src = fetchFromGitHub { owner = "cvxgrp"; repo = "scs"; - rev = version; - sha256 = "sha256-0g0r3DNgkPZgag0qtz79Wk3Cre1I2yaabFi3OgUzgfc="; + rev = "refs/tags/${version}"; + hash = "sha256-Y28LrYUuDaXPO8sce1pJIfG3A03rw7BumVgxCIKRn+U="; }; # Actually link and add libgfortran to the rpath @@ -51,12 +52,17 @@ stdenv.mkDerivation rec { runHook postInstall ''; + passthru = { + updateScript = nix-update-script { }; + }; + meta = { description = "Splitting Conic Solver"; longDescription = '' Numerical optimization package for solving large-scale convex cone problems ''; homepage = "https://github.com/cvxgrp/scs"; + changelog = "https://github.com/cvxgrp/scs/releases/tag/${version}"; license = lib.licenses.mit; platforms = lib.platforms.all; maintainers = with lib.maintainers; [ bhipple ];