<commit_before>{ stdenv, fetchurl, buildPythonPackage, pycurl, isPy3k }:

buildPythonPackage rec {
  pname = "koji";
  version = "1.8";
  name = "${pname}-${version}";
  format = "other";

  src = fetchurl {
    url = "https://github.com/koji-project/koji/archive/koji-1.8.0.tar.gz";
    sha256 = "17rkipdxccdccbbb70f9wx91cq9713psmq23j7lgb4mlnwan926h";
  };

  propagatedBuildInputs = [ pycurl ];

  # Judging from SyntaxError
  disabled = isPy3k;

  makeFlags = "DESTDIR=$(out)";

  postInstall = ''
    mv $out/usr/* $out/
    cp -R $out/nix/store/*/* $out/
    rm -rf $out/nix
  '';

  meta = {
    maintainers = [ stdenv.lib.maintainers.mornfall ];
    platforms = stdenv.lib.platforms.linux;
  };
}<commit_msg>koji: 1.8 -> 1.13.0<commit_after>{ stdenv, fetchurl, buildPythonPackage, pycurl, six, rpm, dateutil }:

buildPythonPackage rec {
  pname = "koji";
  version = "1.13.0";
  name = "${pname}-${version}";
  format = "other";

  src = fetchurl {
    url = "https://releases.pagure.org/koji/${name}.tar.bz2";
    sha256 = "18b18rcbdqqw33g7h20hf5bpbci2ixdi05yda1fvpv30c1kkzd8w";
  };

  propagatedBuildInputs = [ pycurl six rpm dateutil ];

  # Judging from SyntaxError
  #disabled = isPy3k;

  makeFlags = "DESTDIR=$(out)";

  postInstall = ''
    mv $out/usr/* $out/
    cp -R $out/nix/store/*/* $out/
    rm -rf $out/nix
  '';

  meta = {
    maintainers = [ stdenv.lib.maintainers.mornfall ];
    platforms = stdenv.lib.platforms.linux;
  };
}
{'fraction_non_alphanumeric': 0.1676975945017182, 'fraction_numerical': 0.04192439862542955, 'mean_word_length': 3.195965417867435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '5037380', 'n_tokens_mistral': 641, 'n_tokens_neox': 590, 'n_words': 101}