<commit_before>{ stdenv, fetchurl, gfortran, openblas }:

let version = "3.1.5";
in
stdenv.mkDerivation {
  name = "arpack-${version}";
  src = fetchurl {
    url = "http://forge.scilab.org/index.php/p/arpack-ng/downloads/get/arpack-ng_${version}.tar.gz";
    sha256 = "05fmg4m0yri47rzgsl2mnr1qbzrs7qyd557p3v9wwxxw0rwcwsd2";
  };

  buildInputs = [ gfortran ];
  propagatedBuildInputs = [ openblas ];

  preConfigure = ''
    substituteInPlace arpack.pc.in \
      --replace "@BLAS_LIBS@" "-L${openblas}/lib @BLAS_LIBS@"
  '';

  # Auto-detection fails because gfortran brings in BLAS by default
  configureFlags="--with-blas=-lopenblas --with-lapack=-lopenblas";

  meta = {
    homepage = "http://forge.scilab.org/index.php/p/arpack-ng/";
    description = "A collection of Fortran77 subroutines to solve large scale eigenvalue problems";
    # Looks like OpenBLAS is not that easy to build
    # there is a sgemm_itcopy undefined reference on 32-bit, for example
    platforms = ["x86_64-linux"];
    license = stdenv.lib.licenses.bsd3;
    maintainers = [ stdenv.lib.maintainers.ttuegel ];
  };<commit_msg>arpack: version bump to 3.2.0<commit_after>{ stdenv, fetchurl, gfortran, openblas }:

let
  version = "3.2.0";
in
stdenv.mkDerivation {
  name = "arpack-${version}";
  src = fetchurl {
    url = "https://github.com/opencollab/arpack-ng/archive/${version}.tar.gz";
    sha256 = "1fwch6vipms1ispzg2djvbzv5wag36f1dmmr3xs3mbp6imfyhvff";
  };

  buildInputs = [ gfortran ];
  propagatedBuildInputs = [ openblas ];

  preConfigure = ''
    substituteInPlace arpack.pc.in \
      --replace "@BLAS_LIBS@" "-L${openblas}/lib @BLAS_LIBS@"
  '';

  # Auto-detection fails because gfortran brings in BLAS by default
  configureFlags="--with-blas=-lopenblas --with-lapack=-lopenblas";

  meta = {
    homepage = "http://forge.scilab.org/index.php/p/arpack-ng/";
    description = "A collection of Fortran77 subroutines to solve large scale eigenvalue problems";
    # Looks like OpenBLAS is not that easy to build
    # there is a sgemm_itcopy undefined reference on 32-bit, for example
    platforms = ["x86_64-linux"];
    license = stdenv.lib.licenses.bsd3;
    maintainers = [ stdenv.lib.maintainers.ttuegel ];
  };
{'fraction_non_alphanumeric': 0.13447653429602888, 'fraction_numerical': 0.02707581227436823, 'mean_word_length': 3.6380753138075312, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2273316', 'n_tokens_mistral': 860, 'n_tokens_neox': 818, 'n_words': 164}