nixpkgs/pkgs/development/libraries/science/math/atlas/default.nix
Lluís Batlle i Rossell 2847a37fa9 Updating atlas to 3.9.67, the latest development version
svn path=/nixpkgs/trunk/; revision=32458
2012-02-21 14:49:36 +00:00

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/;
};
}