about summary refs log tree commit diff
path: root/pkgs/development/libraries/fflas-ffpack/1.nix
blob: c723885a68bf5957d13ede6f3f1ba9e3cfc7acda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{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";
  };
  nativeBuildInputs = [ autoreconfHook ];
  buildInputs = [ givaro_3_7 openblas gmpxx];
  nativeBuildInputs = [pkgconfig];
  configureFlags = "--with-blas=-lopenblas --with-gmp=${gmpxx.dev} --with-givaro=${givaro_3_7}";
  meta = {
    inherit version;
    description = ''Finite Field Linear Algebra Subroutines'';
    license = stdenv.lib.licenses.lgpl21Plus;
    maintainers = [stdenv.lib.maintainers.raskin];
    platforms = stdenv.lib.platforms.linux;
    homepage = https://linbox-team.github.io/fflas-ffpack/;
  };
}