mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
2847a37fa9
svn path=/nixpkgs/trunk/; revision=32458
25 lines
619 B
Nix
25 lines
619 B
Nix
{ stdenv, fetchurl, gfortran }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "atlas-3.9.67";
|
|
|
|
src = fetchurl {
|
|
url = mirror://sf/math-atlas/atlas3.9.67.tar.bz2;
|
|
sha256 = "06xxlv440z8a3qmfrh17p28girv71c6awvpw5vhpspr0pcsgk1pa";
|
|
};
|
|
|
|
# configure outside of the source directory
|
|
preConfigure = '' mkdir build; cd build; configureScript=../configure; '';
|
|
|
|
# the manual says you should pass -fPIC as configure arg .. It works
|
|
configureFlags = "-Fa alg -fPIC";
|
|
|
|
buildInputs = [ gfortran ];
|
|
|
|
meta = {
|
|
description = "Atlas library";
|
|
license = "GPL";
|
|
homepage = http://math-atlas.sourceforge.net/;
|
|
};
|
|
}
|