<commit_before>{ stdenv, fetchurl, cmake, automoc4, libktorrent, taglib, kdepimlibs, boost,
  gettext, kdebase_workspace }:

stdenv.mkDerivation rec {
  name = pname + "-" + version;

  pname = "ktorrent";
  version = "4.0.3";

  src = fetchurl {
    url = "${meta.homepage}/downloads/${version}/${name}.tar.bz2";
    sha256 = "02hp52333w75mdywgsln28samf9ybr9yldg1jsw0b93lj44pfxli";
  };

  patches = [ ./find-workspace.diff ];

  KDEDIRS = libktorrent;

  buildInputs = [ automoc4 cmake libktorrent taglib kdepimlibs boost gettext
    kdebase_workspace ];

  meta = {
    description = "KDE integrated BtTorrent client";
    homepage = http://ktorrent.org;
    maintainers = with stdenv.lib.maintainers; [ <NAME> ];
  };
}<commit_msg>Updating Ktorrent to the latest.<commit_after>{ stdenv, fetchurl, cmake, automoc4, libktorrent, taglib, kdepimlibs, boost,
  gettext, kdebase_workspace }:

stdenv.mkDerivation rec {
  name = pname + "-" + version;

  pname = "ktorrent";
  version = "4.0.5";

  src = fetchurl {
    url = "${meta.homepage}/downloads/${version}/${name}.tar.bz2";
    sha256 = "1kgy0r9c51w38vj5kjla16vh7nigs89qvvjybjjkv4r41nz9kcfn";
  };

  patches = [ ./find-workspace.diff ];

  KDEDIRS = libktorrent;

  buildInputs = [ automoc4 cmake libktorrent taglib kdepimlibs boost gettext
    kdebase_workspace ];

  meta = {
    description = "KDE integrated BtTorrent client";
    homepage = http://ktorrent.org;
    maintainers = with stdenv.lib.maintainers; [ <NAME> ];
  };
}
{'fraction_non_alphanumeric': 0.13364674278038952, 'fraction_numerical': 0.03626595030221625, 'mean_word_length': 3.8376623376623376, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '819488', 'n_tokens_mistral': 606, 'n_tokens_neox': 573, 'n_words': 106}