2016-10-12 07:29:48 +00:00
|
|
|
{stdenv, fetchFromGitHub, autoreconfHook, givaro, pkgconfig, openblas, liblapack}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "fflas-ffpack";
|
|
|
|
version = "2.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linbox-team";
|
|
|
|
repo = "${pname}";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0k1f4pb7azrm6ajncvg7vni7ixfmn6fssd5ld4xddbi6jqbsf9rd";
|
|
|
|
};
|
2017-09-05 22:03:42 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ givaro (liblapack.override {shared = true;}) openblas];
|
2016-10-12 07:29:48 +00:00
|
|
|
configureFlags = "--with-blas-libs=-lopenblas --with-lapack-libs=-llapack";
|
|
|
|
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 20:03:30 +00:00
|
|
|
homepage = https://linbox-team.github.io/fflas-ffpack/;
|
2016-10-12 07:29:48 +00:00
|
|
|
};
|
|
|
|
}
|