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 ];