<commit_before>{ stdenv, fetchurl, pkgs, pythonPackages }:

pythonPackages.buildPythonApplication rec {
  version = "0.7.0";
  name = "khal-${version}";

  src = fetchurl {
    url = "https://pypi.python.org/packages/source/k/khal/khal-${version}.tar.gz";
    sha256 = "00llxj7cv31mjsx0j6zxmyi9s1q20yvfkn025xcy8cv1ylfwic66";
  };

  propagatedBuildInputs = with pythonPackages; [
    atomicwrites
    click
    configobj
    dateutil
    icalendar
    lxml
    pkgs.vdirsyncer
    pytz
    pyxdg
    requests_toolbelt
    tzlocal
    urwid
    python.modules.sqlite3
    pkginfo
  ];

  meta = with stdenv.lib; {
    homepage = http://lostpackets.de/khal/;
    description = "CLI calendar application";
    license = licenses.mit;
    maintainers = with maintainers; [ matthiasbeyer jgeerds ];
  };<commit_msg>khal: force Python3<commit_after>{ stdenv, fetchurl, pkgs, python3Packages }:

python3Packages.buildPythonApplication rec {
  version = "0.7.0";
  name = "khal-${version}";

  src = fetchurl {
    url = "https://pypi.python.org/packages/source/k/khal/khal-${version}.tar.gz";
    sha256 = "00llxj7cv31mjsx0j6zxmyi9s1q20yvfkn025xcy8cv1ylfwic66";
  };

  propagatedBuildInputs = with python3Packages; [
    atomicwrites
    click
    configobj
    dateutil
    icalendar
    lxml
    pkgs.vdirsyncer
    pytz
    pyxdg
    requests_toolbelt
    tzlocal
    urwid
    pkginfo
  ];

  meta = with stdenv.lib; {
    homepage = http://lostpackets.de/khal/;
    description = "CLI calendar application";
    license = licenses.mit;
    maintainers = with maintainers; [ matthiasbeyer jgeerds ];
  };
{'fraction_non_alphanumeric': 0.10799001248439451, 'fraction_numerical': 0.033083645443196, 'mean_word_length': 3.131443298969072, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5436706', 'n_tokens_mistral': 634, 'n_tokens_neox': 597, 'n_words': 101}