<commit_before>{ stdenv, fetchgit, pidgin, glib, libxml2 }:

stdenv.mkDerivation rec {
  name = "purple-xmpp-upload-${version}";
  version = "178096cbfc9df165c2dc1677666439969d212b37";

  src = fetchgit {
    url = "https://github.com/Junker/purple-xmpp-http-upload";
    rev = version;
    sha256 = "12l9rqlgb4i50xxrfnvwz9sqfk0d3c0m6l09mnvfixqi8illyvlp";
  };

  buildInputs = [ pidgin glib libxml2 ];

  installPhase = ''
    install -Dm644 -t $out/lib/purple-2 jabber_http_file_upload.so
  '';

  meta = with stdenv.lib; {
    homepage = https://github.com/Junker/purple-xmpp-http-upload;
    description = "HTTP File Upload plugin for libpurple (XMPP Protocol XEP-0363)";
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ emmanuelrosa ];
  };
}<commit_msg>purple-xmpp-http-upload: use date of commit as version<commit_after>{ stdenv, fetchgit, pidgin, glib, libxml2 }:

stdenv.mkDerivation rec {
  name = "purple-xmpp-upload-2017-12-31";

  src = fetchgit {
    url = "https://github.com/Junker/purple-xmpp-http-upload";
    rev = "178096cbfc9df165c2dc1677666439969d212b37";
    sha256 = "12l9rqlgb4i50xxrfnvwz9sqfk0d3c0m6l09mnvfixqi8illyvlp";
  };

  buildInputs = [ pidgin glib libxml2 ];

  installPhase = ''
    install -Dm644 -t $out/lib/purple-2 jabber_http_file_upload.so
  '';

  meta = with stdenv.lib; {
    homepage = https://github.com/Junker/purple-xmpp-http-upload;
    description = "HTTP File Upload plugin for libpurple (XMPP Protocol XEP-0363)";
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ emmanuelrosa ];
  };
}
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.07439024390243902, 'mean_word_length': 3.7842565597667637, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '3233947', 'n_tokens_mistral': 722, 'n_tokens_neox': 661, 'n_words': 110}