<commit_before>{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "libnova-0.12.3";

  src = fetchurl {
    url = "mirror://sourceforge/libnova/${name}.tar.gz";
    sha256 = "18mkx79gyhccp5zqhf6k66sbhv97s7839sg15534ijajirkhw9dc";
  };

  meta = with stdenv.lib; {
    description = "Celestial Mechanics, Astrometry and Astrodynamics Library";
    homepage = "http://libnova.sf.net";
    platforms = platforms.unix;
    license = licenses.gpl2;
  };
}<commit_msg>libnova: 0.12.3 -> 0.16<commit_after>{ stdenv, fetchgit, autoreconfHook }:

stdenv.mkDerivation rec {
  pname = "libnova";
  version = "0.16";

  # pull from git repo because upstream stopped tarball releases after v0.15
  src = fetchgit {
    url = "https://git.code.sf.net/p/libnova/${pname}";
    rev = "v${version}";
    sha256 = "0icwylwkixihzni0kgl0j8dx3qhqvym6zv2hkw2dy6v9zvysrb1b";
  };

  nativeBuildInputs = [
    autoreconfHook
  ];

  meta = with stdenv.lib; {
    description = "Celestial Mechanics, Astrometry and Astrodynamics Library";
    homepage = "http://libnova.sf.net";
    license = licenses.gpl2;
    maintainers = with maintainers; [ hjones2199 ];
    platforms = platforms.unix;
  };
}
{'fraction_non_alphanumeric': 0.13474576271186442, 'fraction_numerical': 0.05084745762711865, 'mean_word_length': 3.595330739299611, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '1682707', 'n_tokens_mistral': 494, 'n_tokens_neox': 462, 'n_words': 82}