8 stdenv.mkDerivation (finalAttrs: {
12 src = fetchFromGitHub {
15 rev = "v${finalAttrs.version}";
16 hash = "sha256-3ACo6V6Y99XPe4dvurWflNGPjHy3irURv4jYHMrgSms=";
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 ];