sundials_2: remove

No package needs it now - octave 5.2.0 was the only one that needed it,
but now with octave 6.1.0 latest sundials 5.x.x is used.

+1 -64
-59
pkgs/development/libraries/sundials/2.x.nix
··· 1 - { stdenv 2 - , cmake 3 - , fetchurl 4 - , python 5 - # GNU Octave needs KLU for ODE solvers 6 - , suitesparse 7 - , blas, lapack 8 - , gfortran 9 - , lapackSupport ? true }: 10 - 11 - assert (!blas.isILP64) && (!lapack.isILP64); 12 - 13 - stdenv.mkDerivation rec { 14 - pname = "sundials"; 15 - version = "2.7.0"; 16 - 17 - buildInputs = [ python ] ++ stdenv.lib.optionals (lapackSupport) [ 18 - gfortran 19 - suitesparse 20 - ]; 21 - nativeBuildInputs = [ cmake ]; 22 - 23 - src = fetchurl { 24 - url = "https://computation.llnl.gov/projects/${pname}/download/${pname}-${version}.tar.gz"; 25 - sha256 = "01513g0j7nr3rh7hqjld6mw0mcx5j9z9y87bwjc16w2x2z3wm7yk"; 26 - }; 27 - 28 - patches = [ 29 - (fetchurl { 30 - # https://github.com/LLNL/sundials/pull/19 31 - url = "https://github.com/LLNL/sundials/commit/1350421eab6c5ab479de5eccf6af2dcad1eddf30.patch"; 32 - sha256 = "0g67lixp9m85fqpb9rzz1hl1z8ibdg0ldwq5z6flj5zl8a7cw52l"; 33 - }) 34 - ]; 35 - 36 - cmakeFlags = [ 37 - "-DEXAMPLES_INSTALL_PATH=${placeholder "out"}/share/examples" 38 - ] ++ stdenv.lib.optionals (lapackSupport) [ 39 - "-DSUNDIALS_INDEX_TYPE=int32_t" 40 - # GNU Octave needs KLU for ODE solvers 41 - "-DKLU_ENABLE=ON" 42 - "-DKLU_INCLUDE_DIR=${suitesparse}/include" 43 - "-DKLU_LIBRARY_DIR=${suitesparse}/lib" 44 - "-DLAPACK_ENABLE=ON" 45 - "-DLAPACK_LIBRARIES=${lapack}/lib/lapack${stdenv.hostPlatform.extensions.sharedLibrary};${blas}/lib/blas${stdenv.hostPlatform.extensions.sharedLibrary}" 46 - ]; 47 - 48 - # flaky tests, and patch in https://github.com/LLNL/sundials/pull/21 doesn't apply cleanly for sundials_3 49 - doCheck = false; 50 - checkPhase = "make test"; 51 - 52 - meta = with stdenv.lib; { 53 - description = "Suite of nonlinear differential/algebraic equation solvers"; 54 - homepage = "https://computation.llnl.gov/projects/sundials"; 55 - platforms = platforms.all; 56 - maintainers = with maintainers; [ idontgetoutmuch ]; 57 - license = licenses.bsd3; 58 - }; 59 - }
···
-4
pkgs/top-level/all-packages.nix
··· 16178 python = python3; 16179 }; 16180 16181 - sundials_2 = callPackage ../development/libraries/sundials/2.x.nix { 16182 - python = python3; 16183 - }; 16184 - 16185 sutils = callPackage ../tools/misc/sutils { }; 16186 16187 svrcore = callPackage ../development/libraries/svrcore { };
··· 16178 python = python3; 16179 }; 16180 16181 sutils = callPackage ../tools/misc/sutils { }; 16182 16183 svrcore = callPackage ../development/libraries/svrcore { };
+1 -1
pkgs/top-level/release-alternatives.nix
··· 9 blasUsers = [ 10 # "julia_07" "julia_10" "julia_11" "julia_13" "octave" "octaveFull" 11 "fflas-ffpack" "linbox" "R" "ipopt" "hpl" "rspamd" "octopus" 12 - "sundials" "sundials_2" "superlu" "suitesparse_5_3" "suitesparse_4_4" 13 "suitesparse_4_2" "scs" "scalapack" "petsc" "cholmod-extra" 14 "arpack" "qrupdate" "libcint" "iml" "globalarrays" "arrayfire" "armadillo" 15 "xfitter" "lammps" "plink-ng" "quantum-espresso" "siesta"
··· 9 blasUsers = [ 10 # "julia_07" "julia_10" "julia_11" "julia_13" "octave" "octaveFull" 11 "fflas-ffpack" "linbox" "R" "ipopt" "hpl" "rspamd" "octopus" 12 + "sundials" "superlu" "suitesparse_5_3" "suitesparse_4_4" 13 "suitesparse_4_2" "scs" "scalapack" "petsc" "cholmod-extra" 14 "arpack" "qrupdate" "libcint" "iml" "globalarrays" "arrayfire" "armadillo" 15 "xfitter" "lammps" "plink-ng" "quantum-espresso" "siesta"