<commit_before>{ fetchFromGitHub
, lib, stdenv
, cmake
, eigen
, nlopt
, ipopt
, boost
}:

stdenv.mkDerivation rec {
  pname = "pagmo2";
  version = "2.9";

  src = fetchFromGitHub {
     owner = "esa";
     repo = "pagmo2";
     rev = "v${version}";
     sha256 = "0al2i59m5qr83wz5n5408zvys0b3mc40rszf0l5b9a0gp1axj400";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ eigen nlopt ipopt boost ];<commit_msg>pagmo2: 2.9 -> 2.18.0<commit_after>{ fetchFromGitHub
, lib, stdenv
, cmake
, eigen
, nlopt
, ipopt
, boost
, tbb
}:

stdenv.mkDerivation rec {
  pname = "pagmo2";
  version = "2.18.0";

  src = fetchFromGitHub {
     owner = "esa";
     repo = "pagmo2";
     rev = "v${version}";
     sha256 = "0rd8scs4hj6qd8ylmn5hafncml2vr4fvcgm3agz3jrvmnc7hadrj";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ eigen nlopt ipopt boost tbb ];
{'fraction_non_alphanumeric': 0.13833528722157093, 'fraction_numerical': 0.06799531066822978, 'mean_word_length': 3.402061855670103, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6637724', 'n_tokens_mistral': 397, 'n_tokens_neox': 377, 'n_words': 68}