highs: {1.12.0 -> 1.14.0, modernize} (#512366)

This commit is contained in:
Ramses
2026-04-27 21:41:39 +00:00
committed by GitHub
+6 -9
View File
@@ -4,29 +4,26 @@
fetchFromGitHub,
clang,
cmake,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "highs";
version = "1.12.0";
version = "1.14.0";
src = fetchFromGitHub {
owner = "ERGO-Code";
repo = "HiGHS";
rev = "v${finalAttrs.version}";
hash = "sha256-FRiYtbl1kWEkHHEIIOpefC9UdusmJKl6UmP3dKRkAXA=";
tag = "v${finalAttrs.version}";
hash = "sha256-0KmA5B2g3AFCxMbN9gHdXxAEftZglhQKOqj1/TMxxps=";
};
strictDeps = true;
__structuredAttrs = true;
outputs = [ "out" ];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
installCheckPhase = ''
"$out/bin/highs" --version
'';
nativeBuildInputs = [
clang
cmake