<commit_before>{ stdenv, fetchurl, recode }:

stdenv.mkDerivation {
  name = "fortune-mod_1.99.1";
  src = fetchurl {
    url = http://ftp.de.debian.org/debian/pool/main/f/fortune-mod/fortune-mod_1.99.1.orig.tar.gz;
    sha256 = "1kpa2hgbglj5dbfasvl9wc1q3xpl91mqn3sfby46r4rwyzhswlgw";
  };
  buildInputs = [recode];
  preConfigure = ''
    sed -i "s|/usr/|$out/|" Makefile 
  '';
  postInstall = ''
    ln -s $out/games/fortune $out/bin/fortune
  '';

  meta = {
    description = "fortune is a simple program that displays a pseudorandom message from a database of quotations that first appeared in Version 7 Unix.";
  };
}<commit_msg>* Fortune: use a "-" instead of a "_" to separate the package name   from the version.  Otherwise "nix-env -i fortune-mod" doesn't work.   (Reported on IRC.)<commit_after>{ stdenv, fetchurl, recode }:

stdenv.mkDerivation {
  name = "fortune-mod-1.99.1";
  
  src = fetchurl {
    url = http://ftp.de.debian.org/debian/pool/main/f/fortune-mod/fortune-mod_1.99.1.orig.tar.gz;
    sha256 = "1kpa2hgbglj5dbfasvl9wc1q3xpl91mqn3sfby46r4rwyzhswlgw";
  };
  
  buildInputs = [ recode ];
  
  preConfigure = ''
    sed -i "s|/usr/|$out/|" Makefile 
  '';
  
  postInstall = ''
    ln -s $out/games/fortune $out/bin/fortune
  '';

  meta = {
    description = "A program that displays a pseudorandom message from a database of quotations";
  };
}
{'fraction_non_alphanumeric': 0.14275309541150766, 'fraction_numerical': 0.03423160961398398, 'mean_word_length': 3.1890243902439024, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '802953', 'n_tokens_mistral': 574, 'n_tokens_neox': 540, 'n_words': 111}