<commit_before>{ stdenv
, autoconf
, autoconf-archive
, automake
, fetchFromGitHub
, gettext
, intltool
, libtool
, makeWrapper
, pkgconfig

, appstream-glib
, gdk-pixbuf
, glib
, gtk3
, epoxy
, librsvg
, mpv
, pythonPackages
, wayland
, xorg
}:

with {
  inherit (stdenv.lib)
    enFlag;
};

stdenv.mkDerivation rec {
  name = "gnome-mpv-${version}";
  version = "2016-03-15";

  src = fetchFromGitHub {
    owner = "gnome-mpv";
    repo = "gnome-mpv";
    rev = "2f1b5b4ed4fbf18fb1368e0a151235e5f762b7c2";
    sha256 = "2121c8a12570d65c9cf0c983e941e679317e56d045a121a6b587d88e32fb6218";
  };

  nativeBuildInputs = [
    autoconf
    autoconf-archive
    automake
    gettext
    intltool
    libtool
    makeWrapper
    pkgconfig
  ];

  buildInputs = [
    appstream-glib
    gdk-pixbuf
    glib
    gtk3
    epoxy
    librsvg
    mpv
    pythonPackages.youtube-dl
    wayland
    xorg.libX11
  ];

  preConfigure =<commit_msg>gnome-mpv: add missing icon theme<commit_after>{ stdenv
, autoconf
, autoconf-archive
, automake
, fetchFromGitHub
, gettext
, intltool
, libtool
, makeWrapper
, pkgconfig

, adwaita-icon-theme
, appstream-glib
, gdk-pixbuf
, glib
, gtk3
, epoxy
, librsvg
, mpv
, pythonPackages
, wayland
, xorg
}:

with {
  inherit (stdenv.lib)
    enFlag;
};

stdenv.mkDerivation rec {
  name = "gnome-mpv-${version}";
  version = "2016-03-15";

  src = fetchFromGitHub {
    owner = "gnome-mpv";
    repo = "gnome-mpv";
    rev = "2f1b5b4ed4fbf18fb1368e0a151235e5f762b7c2";
    sha256 = "2121c8a12570d65c9cf0c983e941e679317e56d045a121a6b587d88e32fb6218";
  };

  nativeBuildInputs = [
    autoconf
    autoconf-archive
    automake
    gettext
    intltool
    libtool
    makeWrapper
    pkgconfig
  ];

  buildInputs = [
    adwaita-icon-theme
    appstream-glib
    gdk-pixbuf
    glib
    gtk3
    epoxy
    librsvg
    mpv
    pythonPackages.youtube-dl
    wayland
    xorg.libX11
  ];

  preConfigure =
{'fraction_non_alphanumeric': 0.0960539979231568, 'fraction_numerical': 0.08826583592938733, 'mean_word_length': 2.9406952965235176, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '2119484', 'n_tokens_mistral': 920, 'n_tokens_neox': 816, 'n_words': 130}