2008-10-05 11:01:59 +02:00
|
|
|
args: with args;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-05-21 19:39:17 +02:00
|
|
|
name = "atlas-3.9.11";
|
2008-10-05 11:01:59 +02:00
|
|
|
src = fetchurl {
|
2009-05-21 19:39:17 +02:00
|
|
|
url = mirror://sf/math-atlas/atlas3.9.11.tar.bz2;
|
|
|
|
sha256 = "d91e593a772cf540ff693f7d8c43d10c3037eb334c5c77572ea1b6a64a0b9677";
|
2008-10-05 11:01:59 +02:00
|
|
|
};
|
|
|
|
|
2008-12-02 23:55:33 +01:00
|
|
|
# configure outside of the source directory
|
|
|
|
preConfigure = '' mkdir build; cd build; configureScript=../configure; '';
|
|
|
|
|
2009-05-21 19:39:17 +02:00
|
|
|
# the manual says you should pass -fPIC as configure arg .. It works
|
|
|
|
configureFlags = "-Fa alg -fPIC";
|
2008-12-02 23:55:33 +01:00
|
|
|
|
2008-10-05 11:01:59 +02:00
|
|
|
buildInputs = [gfortran];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Atlas library";
|
|
|
|
license = "GPL";
|
|
|
|
homepage = http://math-atlas.sourceforge.net/;
|
|
|
|
};
|
|
|
|
}
|