From 66097104090e06c43a784193809bc8843a2ec052 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 28 Jul 2010 11:55:54 +0000 Subject: * Get rid of many instances of "args: with args;", and other coding guidelines violations. * Updated libsamplerate to 0.1.7. svn path=/nixpkgs/trunk/; revision=22782 --- pkgs/development/libraries/science/math/atlas/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'pkgs/development/libraries/science/math/atlas') diff --git a/pkgs/development/libraries/science/math/atlas/default.nix b/pkgs/development/libraries/science/math/atlas/default.nix index 5d9167d00ecd..e2d9083eda48 100644 --- a/pkgs/development/libraries/science/math/atlas/default.nix +++ b/pkgs/development/libraries/science/math/atlas/default.nix @@ -1,7 +1,8 @@ -args: with args; +{ stdenv, fetchurl, gfortran }: stdenv.mkDerivation { name = "atlas-3.9.11"; + src = fetchurl { url = mirror://sf/math-atlas/atlas3.9.11.tar.bz2; sha256 = "d91e593a772cf540ff693f7d8c43d10c3037eb334c5c77572ea1b6a64a0b9677"; @@ -13,11 +14,11 @@ stdenv.mkDerivation { # the manual says you should pass -fPIC as configure arg .. It works configureFlags = "-Fa alg -fPIC"; - buildInputs = [gfortran]; + buildInputs = [ gfortran ]; meta = { - description = "Atlas library"; - license = "GPL"; - homepage = http://math-atlas.sourceforge.net/; + description = "Atlas library"; + license = "GPL"; + homepage = http://math-atlas.sourceforge.net/; }; } -- cgit 1.4.1