Add gurobi package
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
b3debdc046
commit
a9c65b31b9
25
pkgs/development/libraries/gurobi/default.nix
Normal file
25
pkgs/development/libraries/gurobi/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, requireFile }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gurobi-5.6.0";
|
||||
|
||||
src = requireFile {
|
||||
name = "gurobi5.6.0_linux64.tar.gz";
|
||||
sha256 = "1qwfjyx5y71x97gkndqnl9h4xc8hl48zwcwss7jagqfj3gxwvnky";
|
||||
url = "http://www.gurobi.com/download/gurobi-optimizer";
|
||||
};
|
||||
|
||||
installPhase = "mv linux64 $out";
|
||||
|
||||
fixupPhase = ''
|
||||
interp=`cat $NIX_GCC/nix-support/dynamic-linker`
|
||||
find $out/bin -type f -executable -exec patchelf --interpreter "$interp" --set-rpath $out/lib {} \;
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "State-of-the-art mathematical programming solver";
|
||||
homepage = http://www.gurobi.com/;
|
||||
license = "unfree";
|
||||
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
||||
};
|
||||
}
|
@ -4437,6 +4437,8 @@ let
|
||||
|
||||
gts = callPackage ../development/libraries/gts { };
|
||||
|
||||
gurobi = callPackage ../development/libraries/gurobi {};
|
||||
|
||||
gvfs = callPackage ../development/libraries/gvfs { };
|
||||
|
||||
gwenhywfar = callPackage ../development/libraries/gwenhywfar { };
|
||||
|
Loading…
Reference in New Issue
Block a user