Merge pull request #112286 from doronbehar/pkg/sundials

sundials: 5.6.1 -> 5.7.0
This commit is contained in:
Doron Behar 2021-02-07 22:57:20 +02:00 committed by GitHub
commit 2dbbb65c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
{ lib, stdenv
, cmake
, fetchurl
, fetchpatch
, python
, blas
, lapack
@ -13,24 +12,15 @@
stdenv.mkDerivation rec {
pname = "sundials";
version = "5.6.1";
version = "5.7.0";
outputs = [ "out" "examples" ];
src = fetchurl {
url = "https://computation.llnl.gov/projects/${pname}/download/${pname}-${version}.tar.gz";
sha256 = "Frd5mex+fyFXqh0Eyh3kojccqBUOBW0klR0MWJZvKoM=";
sha256 = "jW3QlP7Mu41uzEE0DsFqZfq6yC7UQVAj9tfBwjkOovM=";
};
patches = [
# Fixing an upstream regression in treating cmake prefix directories:
# https://github.com/LLNL/sundials/pull/58
(fetchpatch {
url = "https://github.com/LLNL/sundials/commit/dd32ff9baa05618f36e44aadb420bbae4236ea1e.patch";
sha256 = "kToAuma+2iHFyL1v/l29F3+nug4AdK5cPG6IcXv2afc=";
})
];
nativeBuildInputs = [ cmake ];
buildInputs = [