2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, autoreconfHook, fetchurl, gmp, blas}:
|
2016-10-11 10:41:41 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "iml";
|
2016-10-11 10:41:41 +00:00
|
|
|
version = "1.0.5";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.cs.uwaterloo.ca/~astorjoh/iml-${version}.tar.bz2";
|
|
|
|
sha256 = "0akwhhz9b40bz6lrfxpamp7r7wkk48p455qbn04mfnl9a1l6db8x";
|
|
|
|
};
|
2018-05-07 19:48:08 +00:00
|
|
|
buildInputs = [
|
|
|
|
gmp
|
2020-03-31 14:47:18 +00:00
|
|
|
blas
|
2018-05-07 19:48:08 +00:00
|
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
configureFlags = [
|
|
|
|
"--with-gmp-include=${gmp.dev}/include"
|
|
|
|
"--with-gmp-lib=${gmp}/lib"
|
2020-03-31 14:47:18 +00:00
|
|
|
"--with-cblas=-lblas"
|
2018-05-07 19:48:08 +00:00
|
|
|
];
|
2016-10-11 10:41:41 +00:00
|
|
|
meta = {
|
2021-01-24 09:19:10 +00:00
|
|
|
description = "Algorithms for computing exact solutions to dense systems of linear equations over the integers";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://cs.uwaterloo.ca/~astorjoh/iml.html";
|
2016-10-11 10:41:41 +00:00
|
|
|
updateWalker = true;
|
|
|
|
};
|
|
|
|
}
|