nixpkgs-suyu/pkgs/development/libraries/iml/default.nix
Matthew Bauer 1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00

30 lines
875 B
Nix

{stdenv, autoreconfHook, fetchurl, gmp, blas}:
stdenv.mkDerivation rec {
pname = "iml";
version = "1.0.5";
src = fetchurl {
url = "http://www.cs.uwaterloo.ca/~astorjoh/iml-${version}.tar.bz2";
sha256 = "0akwhhz9b40bz6lrfxpamp7r7wkk48p455qbn04mfnl9a1l6db8x";
};
buildInputs = [
gmp
blas
];
nativeBuildInputs = [
autoreconfHook
];
configureFlags = [
"--with-gmp-include=${gmp.dev}/include"
"--with-gmp-lib=${gmp}/lib"
"--with-cblas=-lblas"
];
meta = {
inherit version;
description = ''Algorithms for computing exact solutions to dense systems of linear equations over the integers'';
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.unix;
homepage = "https://cs.uwaterloo.ca/~astorjoh/iml.html";
updateWalker = true;
};
}