2023-12-10 08:18:34 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
cmake,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "soplex";
|
2024-09-18 19:59:55 +00:00
|
|
|
version = "7.1.1";
|
2023-12-10 08:18:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scipopt";
|
|
|
|
repo = "soplex";
|
|
|
|
rev = "release-${builtins.replaceStrings [ "." ] [ "" ] finalAttrs.version}";
|
2024-09-18 19:59:55 +00:00
|
|
|
hash = "sha256-f4PMJz/VHCx5Uk7M9JdE+4Qpf29X3S/umoiAo8NXYrU=";
|
2023-12-10 08:18:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://scipopt.org";
|
|
|
|
description = "Sequential object-oriented simPlex";
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
mainProgram = "soplex";
|
|
|
|
maintainers = with lib.maintainers; [ david-r-cox ];
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
};
|
|
|
|
})
|