aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/science/math/liblapack
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2014-08-24 00:24:46 +0400
committerMichael Raskin <7c6f434c@mail.ru>2014-08-24 00:24:55 +0400
commit33ef69390bb2d4522bf4da4dc3a92a6195a7db5c (patch)
tree0265223728a71038ffaf81a7a0016d324d86745f /pkgs/development/libraries/science/math/liblapack
parent252ee7adc9921ffa255dc90f153cc6c40e963340 (diff)
Fix Julia 0.3.0 build (for most purposes). Not making default yet because it is unclear if I missed something important. Failed to make it use external openblas and lapack correctly…
Diffstat (limited to 'pkgs/development/libraries/science/math/liblapack')
-rw-r--r--pkgs/development/libraries/science/math/liblapack/3.5.0.nix1
-rw-r--r--pkgs/development/libraries/science/math/liblapack/default.nix8
2 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/libraries/science/math/liblapack/3.5.0.nix b/pkgs/development/libraries/science/math/liblapack/3.5.0.nix
index b2167449a2f9..0b4badf26e7a 100644
--- a/pkgs/development/libraries/science/math/liblapack/3.5.0.nix
+++ b/pkgs/development/libraries/science/math/liblapack/3.5.0.nix
@@ -38,6 +38,7 @@ stdenv.mkDerivation rec {
};
meta = {
+ inherit version;
description = "Linear Algebra PACKage";
homepage = "http://www.netlib.org/lapack/";
license = "revised-BSD";
diff --git a/pkgs/development/libraries/science/math/liblapack/default.nix b/pkgs/development/libraries/science/math/liblapack/default.nix
index f1c99397452d..9f4f43311a47 100644
--- a/pkgs/development/libraries/science/math/liblapack/default.nix
+++ b/pkgs/development/libraries/science/math/liblapack/default.nix
@@ -2,11 +2,12 @@
let
atlasMaybeShared = atlas.override { inherit shared; };
usedLibExtension = if shared then ".so" else ".a";
+ version = "3.4.1";
in
-stdenv.mkDerivation {
- name = "liblapack-3.4.1";
+stdenv.mkDerivation rec {
+ name = "liblapack-${version}";
src = fetchurl {
- url = "http://www.netlib.org/lapack/lapack-3.4.1.tgz";
+ url = "http://www.netlib.org/lapack/lapack-${version}.tgz";
sha256 = "93b910f94f6091a2e71b59809c4db4a14655db527cfc5821ade2e8c8ab75380f";
};
@@ -37,6 +38,7 @@ stdenv.mkDerivation {
};
meta = {
+ inherit version;
description = "Linear Algebra PACKage";
homepage = "http://www.netlib.org/lapack/";
license = "revised-BSD";