openblas: expose version attribute

This commit is contained in:
Timo Kaufmann 2018-03-12 18:40:49 +01:00
parent 9137f83880
commit 892a0e8ff4

View File

@ -76,11 +76,10 @@ let
if blas64_ != null
then blas64_
else hasPrefix "x86_64" stdenv.system;
version = "0.3.0";
in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "openblas-${version}";
version = "0.3.0";
src = fetchurl {
url = "https://github.com/xianyi/OpenBLAS/archive/v${version}.tar.gz";
sha256 = "18giv3lsh8cva01z4rhsx8jvgliknni0jp7vxkc69qxb14vm8lfg";