lrs: init at 7.0

This commit is contained in:
Michael Raskin 2018-10-23 11:07:47 +03:00
parent 1d8c5e70cf
commit acb7d85993
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{stdenv, fetchurl, gmp}:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lrs";
version = "7.0";
src = fetchurl {
url = "http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-070.tar.gz";
sha256 = "1zjdmkjracz695k73c2pvipc0skpyn1wzagkhilsvcw9pqljpwg9";
};
buildInputs = [ gmp ];
preBuild = ''
export makeFlags="$makeFlags prefix=$out";
'';
meta = {
inherit version;
description = "Implementation of the reverse search algorithm for vertex enumeration/convex hull problems";
license = stdenv.lib.licenses.gpl2 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
homepage = "http://cgm.cs.mcgill.ca/~avis/C/lrs.html";
};
}

View File

@ -21118,6 +21118,8 @@ with pkgs;
liblapackWithAtlas = liblapack;
liblbfgs = callPackage ../development/libraries/science/math/liblbfgs { };
lrs = callPackage ../development/libraries/science/math/lrs { };
m4ri = callPackage ../development/libraries/science/math/m4ri { };