8 stdenv.mkDerivation (finalAttrs: {
12 src = fetchFromGitHub {
15 rev = "v${finalAttrs.version}";
16 hash = "sha256-q18TfKbZyTZzzPZ8z3U57Yt8q2PSvbkg3qqqiPMgy5Q=";
23 doInstallCheck = true;
25 installCheckPhase = ''
26 "$out/bin/highs" --version
29 nativeBuildInputs = [ clang cmake ];
31 enableParallelBuilding = true;
34 homepage = "https://github.com/ERGO-Code/HiGHS";
35 description = "Linear optimization software";
36 license = licenses.mit;
37 platforms = platforms.all;
38 mainProgram = "highs";
39 maintainers = with maintainers; [ silky ];