diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index fb83636ce8af..4ebfca0db410 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -17831,6 +17831,12 @@ fingerprint = "ADF4 C13D 0E36 1240 BD01 9B51 D1DE 6D7F 6936 63A5"; }]; }; + silky = { + name = "Noon van der Silk"; + email = "noonsilk+nixpkgs@gmail.com"; + github = "silky"; + githubId = 129525; + }; Silver-Golden = { name = "Brendan Golden"; email = "github+nixpkgs@brendan.ie"; diff --git a/pkgs/by-name/hi/highs/package.nix b/pkgs/by-name/hi/highs/package.nix new file mode 100644 index 000000000000..4023d3e52afb --- /dev/null +++ b/pkgs/by-name/hi/highs/package.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, fetchFromGitHub +, clang +, cmake +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "highs"; + version = "1.7.0"; + + src = fetchFromGitHub { + owner = "ERGO-Code"; + repo = "HiGHS"; + rev = "v${finalAttrs.version}"; + sha256 = "sha256-2dYKXckZ+npj1rA2mmBRuRcGI1YNcaiITSMjE2/TA2g="; + }; + + strictDeps = true; + + outputs = [ "out" ]; + + doInstallCheck = true; + + installCheckPhase = '' + "$out/bin/highs" --version + ''; + + nativeBuildInputs = [ clang cmake ]; + + enableParallelBuilding = true; + + meta = with lib; { + homepage = "https://github.com/ERGO-Code/HiGHS"; + description = "Linear optimization software"; + license = licenses.mit; + platforms = platforms.all; + mainProgram = "highs"; + maintainers = with maintainers; [ silky ]; + }; +})