sundials: fix download URL and hash
The old URL doesn't seem to be available anymore (fails with 403 Forbidden error). The tarball in the new URL contains a few changes from the old one, so the hash has changed. Specifically, only the following files have changed: sundials-5.7.0/doc/arkode/ark_examples.pdf sundials-5.7.0/doc/arkode/ark_guide.pdf sundials-5.7.0/doc/cvode/cv_examples.pdf sundials-5.7.0/doc/cvode/cv_guide.pdf sundials-5.7.0/doc/cvodes/cvs_examples.pdf sundials-5.7.0/doc/cvodes/cvs_guide.pdf sundials-5.7.0/doc/ida/ida_examples.pdf sundials-5.7.0/doc/ida/ida_guide.pdf sundials-5.7.0/doc/idas/idas_examples.pdf sundials-5.7.0/doc/idas/idas_guide.pdf sundials-5.7.0/doc/kinsol/kin_examples.pdf sundials-5.7.0/doc/kinsol/kin_guide.pdf (cherry picked from commit 4ab604c4c436505c98eb11e4a5c0323a1a835279)
This commit is contained in:
parent
17d3c8bc81
commit
c7d7f1881e
|
@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
|
|||
outputs = [ "out" "examples" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://computation.llnl.gov/projects/${pname}/download/${pname}-${version}.tar.gz";
|
||||
sha256 = "jW3QlP7Mu41uzEE0DsFqZfq6yC7UQVAj9tfBwjkOovM=";
|
||||
url = "https://github.com/LLNL/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-SNp7qoFS3bIq7RsC2C0du0+/6iKs9nY0ARqgMDoQCkM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
|
Loading…
Reference in New Issue