<commit_before>{stdenv, fetchurl, python, tcl, readline, file, cpio, beecrypt, unzip, neon, gnupg, libxml2, perl}:

stdenv.mkDerivation {
  name = "rpm-4.4.5";

  src = fetchurl {
    url = http://losser.labs.cs.uu.nl/~armijn/.nix/rpm-4.4.5.tar.gz;
    #md5 = "e24ce468082479fe850c9d6563f56db5";
    md5 = "3f277388b0486c6e8ce9b07fdf53993e";
  };
  buildInputs = [python tcl readline file cpio beecrypt unzip neon gnupg libxml2 perl];
  configureFlags = "--without-python --with-selinux=no --without-lua";
  patches = [./rpm-4.4.5-lua.patch ./rpm-4.4.5-beecrypt-include.patch ./rpm-4.4.5-neon-include.patch ./rpm-4.4.5-libxml2-include.patch];
  inherit beecrypt neon libxml2;
}<commit_msg>lua needs to be built, no matter what...then why do they provide an option to disable it, which doesn't even work properly???<commit_after>{stdenv, fetchurl, python, tcl, readline, file, cpio, beecrypt, unzip, neon, gnupg, libxml2, perl}:

stdenv.mkDerivation {
  name = "rpm-4.4.5";

  src = fetchurl {
    url = http://losser.labs.cs.uu.nl/~armijn/.nix/rpm-4.4.5.tar.gz;
    #md5 = "e24ce468082479fe850c9d6563f56db5";
    md5 = "3f277388b0486c6e8ce9b07fdf53993e";
  };
  buildInputs = [python tcl readline file cpio beecrypt unzip neon gnupg libxml2 perl];
  #configureFlags = "--without-python --with-selinux=no --without-lua";
  configureFlags = "--without-python --with-selinux=no";
  patches = [./rpm-4.4.5-lua.patch ./rpm-4.4.5-beecrypt-include.patch ./rpm-4.4.5-neon-include.patch ./rpm-4.4.5-libxml2-include.patch];
  inherit beecrypt neon libxml2;
}
{'fraction_non_alphanumeric': 0.16085271317829458, 'fraction_numerical': 0.08656330749354005, 'mean_word_length': 3.6797583081570995, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '6197419', 'n_tokens_mistral': 717, 'n_tokens_neox': 642, 'n_words': 122}