diff --git a/pkgs/by-name/so/soplex/package.nix b/pkgs/by-name/so/soplex/package.nix new file mode 100644 index 000000000000..d4672a0b8ba3 --- /dev/null +++ b/pkgs/by-name/so/soplex/package.nix @@ -0,0 +1,33 @@ +{ + lib, + stdenv, + cmake, + fetchFromGitHub, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "soplex"; + version = "7.1.0"; + + src = fetchFromGitHub { + owner = "scipopt"; + repo = "soplex"; + rev = "release-${builtins.replaceStrings [ "." ] [ "" ] finalAttrs.version}"; + hash = "sha256-yoXqfaSGYLHJbUcmBkxhmik553L/9XZtb7FjouaIGCg="; + }; + + 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; + }; +})