nixpkgs/pkgs/by-name/so/soplex/package.nix
2024-11-21 16:47:13 +00:00

34 lines
703 B
Nix

{
lib,
stdenv,
cmake,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "soplex";
version = "712";
src = fetchFromGitHub {
owner = "scipopt";
repo = "soplex";
rev = "release-${builtins.replaceStrings [ "." ] [ "" ] finalAttrs.version}";
hash = "sha256-8muN9wYDQX5CULifKBYO/t9whS2LsatrYB2khlV0akg=";
};
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;
};
})