<commit_before>{ stdenv, fetchurl, autoreconfHook, intltool
, pythonPackages
}:

stdenv.mkDerivation rec {
  name = "mpDris2";
  version = "0.6";

  src = fetchurl {
    url = "https://github.com/eonpatapon/${name}/archive/${version}.tar.gz";
    sha256 = "0zdmamj2ldhr6y3s464w8y2x3yizda784jnlrg3j3myfabssisvz";
  };

  buildInputs = [ intltool autoreconfHook pythonPackages.wrapPython ];
  propagatedBuildInputs = with pythonPackages; [ python pygtk dbus-python ];
  pythonPath = with pythonPackages; [ mpd pygtk dbus-python notify ];
  postInstall = "wrapPythonPrograms";

  meta = with stdenv.lib; {
    description = "MPRIS 2 support for mpd";
    homepage = https://github.com/eonpatapon/mpDris2/;
    license = licenses.gpl3;
    platforms = platforms.unix;
    maintainers = with maintainers; [ pjones ];
  };
}<commit_msg>mpdris2: install locale files to correct location<commit_after>{ stdenv, fetchurl, autoreconfHook, intltool
, pythonPackages
}:

stdenv.mkDerivation rec {
  name = "mpDris2";
  version = "0.6";

  src = fetchurl {
    url = "https://github.com/eonpatapon/${name}/archive/${version}.tar.gz";
    sha256 = "0zdmamj2ldhr6y3s464w8y2x3yizda784jnlrg3j3myfabssisvz";
  };

  preConfigure = ''
    intltoolize -f
  '';

  buildInputs = [ intltool autoreconfHook pythonPackages.wrapPython ];
  propagatedBuildInputs = with pythonPackages; [ python pygtk dbus-python ];
  pythonPath = with pythonPackages; [ mpd pygtk dbus-python notify ];
  postInstall = "wrapPythonPrograms";

  meta = with stdenv.lib; {
    description = "MPRIS 2 support for mpd";
    homepage = https://github.com/eonpatapon/mpDris2/;
    license = licenses.gpl3;
    platforms = platforms.unix;
    maintainers = with maintainers; [ pjones ];
  };
}
{'fraction_non_alphanumeric': 0.12055109070034443, 'fraction_numerical': 0.02812858783008037, 'mean_word_length': 4.052173913043478, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '4921798', 'n_tokens_mistral': 654, 'n_tokens_neox': 626, 'n_words': 121}