mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
34 lines
703 B
Nix
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;
|
|
};
|
|
})
|