2016-10-12 11:54:58 +02:00
|
|
|
{stdenv, fetchurl, autoreconfHook, givaro_3_7, pkgconfig, openblas, gmpxx}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "fflas-ffpack";
|
|
|
|
version = "1.6.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://linalg.org/fflas-ffpack-${version}.tar.gz";
|
|
|
|
sha256 = "02fr675278c65hfiy1chb903j4ix9i8yni1xc2g5nmsjcaf9vra9";
|
|
|
|
};
|
2017-09-06 00:03:42 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2017-09-05 23:26:13 +02:00
|
|
|
buildInputs = [ givaro_3_7 openblas gmpxx];
|
2018-07-25 23:44:21 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--with-blas=-lopenblas"
|
|
|
|
"--with-gmp=${gmpxx.dev}"
|
|
|
|
"--with-givaro=${givaro_3_7}"
|
|
|
|
];
|
2016-10-12 11:54:58 +02:00
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = ''Finite Field Linear Algebra Subroutines'';
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://linbox-team.github.io/fflas-ffpack/;
|
2016-10-12 11:54:58 +02:00
|
|
|
};
|
|
|
|
}
|