liblapack: 3.8.0 -> 3.9.0

This commit is contained in:
Markus Kowalewski 2019-11-22 23:22:11 +01:00
parent 0d2fd9018f
commit 7e44c6dee6
No known key found for this signature in database
GPG Key ID: D865C8A91D7025EB

View File

@ -1,6 +1,6 @@
{ {
stdenv, stdenv,
fetchurl, fetchFromGitHub,
gfortran, gfortran,
cmake, cmake,
python2, python2,
@ -8,19 +8,22 @@
}: }:
let let
inherit (stdenv.lib) optional; inherit (stdenv.lib) optional;
version = "3.8.0"; version = "3.9.0";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "liblapack"; pname = "liblapack";
inherit version; inherit version;
src = fetchurl {
url = "http://www.netlib.org/lapack/lapack-${version}.tar.gz"; src = fetchFromGitHub {
sha256 = "1xmwi2mqmipvg950gb0rhgprcps8gy8sjm8ic9rgy2qjlv22rcny"; owner = "Reference-LAPACK";
repo = "lapack";
rev = "v${version}";
sha256 = "0sxnc97z67i7phdmcnq8f8lmxgw10wdwvr8ami0w3pb179cgrbpb";
}; };
buildInputs = [ gfortran cmake ]; buildInputs = [ gfortran ];
nativeBuildInputs = [ python2 ]; nativeBuildInputs = [ python2 cmake ];
cmakeFlags = [ cmakeFlags = [
"-DCMAKE_Fortran_FLAGS=-fPIC" "-DCMAKE_Fortran_FLAGS=-fPIC"