<commit_before>{ stdenv, fetchurl, intltool, glib, pkgconfig, polkit, python, sqlite }:

let version = "1.0.8"; in
stdenv.mkDerivation {
  name = "packagekit-${version}";

  src = fetchurl {
    sha256 = "1vaxn4kwdwx6p03n88k4pnbd2l6lb0cbxpcs88kjack1jml17c3l";
    url = "http://www.freedesktop.org/software/PackageKit/releases/PackageKit-${version}.tar.xz";
  };

  buildInputs = [ glib polkit python ];
  propagatedBuildInputs = [ sqlite ];
  nativeBuildInputs = [ intltool pkgconfig ];

  configureFlags = [
    "--disable-static"
    "--disable-python3"
    "--disable-networkmanager"
    "--disable-connman"
    "--disable-systemd"
    "--disable-bash-completion"
    "--disable-browser-plugin"
    "--disable-gstreamer-plugin"
    "--disable-gtk-module"
    "--disable-command-not-found"
    "--disable-cron"
    "--disable-daemon-tests"
    "--disable-alpm"
    "--disable-aptcc"
    "--enable-dummy"
    "--disable-entropy"
    "--disable-hif"
    "--disable-pisi"
    "--disable-poldek"
    "--disable-portage"
    "--disable-ports"
    "--disable-katja"
    "--disable-urmpi"
    "--disable-yum"
    "--disable-zypp"
  ];

  enableParallelBuilding = true;

  preInstall = ''
    # Don't install anything to e.g. $out/var/cache:
    for dir in src data; do
      substituteInPlace $dir/Makefile \
        --replace " install-data-hook" "" \
        --replace " install-databaseDATA" ""
    done
  '';<commit_msg>packagekit: fix typo urmpi -> urpmi<commit_after>{ stdenv, fetchurl, intltool, glib, pkgconfig, polkit, python, sqlite }:

let version = "1.0.8"; in
stdenv.mkDerivation {
  name = "packagekit-${version}";

  src = fetchurl {
    sha256 = "1vaxn4kwdwx6p03n88k4pnbd2l6lb0cbxpcs88kjack1jml17c3l";
    url = "http://www.freedesktop.org/software/PackageKit/releases/PackageKit-${version}.tar.xz";
  };

  buildInputs = [ glib polkit python ];
  propagatedBuildInputs = [ sqlite ];
  nativeBuildInputs = [ intltool pkgconfig ];

  configureFlags = [
    "--disable-static"
    "--disable-python3"
    "--disable-networkmanager"
    "--disable-connman"
    "--disable-systemd"
    "--disable-bash-completion"
    "--disable-browser-plugin"
    "--disable-gstreamer-plugin"
    "--disable-gtk-module"
    "--disable-command-not-found"
    "--disable-cron"
    "--disable-daemon-tests"
    "--disable-alpm"
    "--disable-aptcc"
    "--enable-dummy"
    "--disable-entropy"
    "--disable-hif"
    "--disable-pisi"
    "--disable-poldek"
    "--disable-portage"
    "--disable-ports"
    "--disable-katja"
    "--disable-urpmi"
    "--disable-yum"
    "--disable-zypp"
  ];

  enableParallelBuilding = true;

  preInstall = ''
    # Don't install anything to e.g. $out/var/cache:
    for dir in src data; do
      substituteInPlace $dir/Makefile \
        --replace " install-data-hook" "" \
        --replace " install-databaseDATA" ""
    done
  '';
{'fraction_non_alphanumeric': 0.16876310272536688, 'fraction_numerical': 0.016771488469601678, 'mean_word_length': 2.628643852978454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6075609', 'n_tokens_mistral': 1041, 'n_tokens_neox': 1002, 'n_words': 162}