blob: 296c5f6b92025b0e846165057fb3f582d5455010 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, fetchurl, gfortran, atlasWithLapack }:
let
version = "3.2.0";
in
stdenv.mkDerivation {
name = "arpack-${version}";
src = fetchurl {
url = "https://github.com/opencollab/arpack-ng/archive/${version}.tar.gz";
sha256 = "1fwch6vipms1ispzg2djvbzv5wag36f1dmmr3xs3mbp6imfyhvff";
};
buildInputs = [ gfortran atlasWithLapack ];
# Auto-detection fails because gfortran brings in BLAS by default
configureFlags="--with-blas=-latlas --with-lapack=-latlas";
meta = {
homepage = "http://forge.scilab.org/index.php/p/arpack-ng/";
description = ''
A collection of Fortran77 subroutines to solve large scale eigenvalue
problems.
'';
license = stdenv.lib.licenses.bsd3;
maintainers = [ stdenv.lib.maintainers.ttuegel ];
};
}
|