<commit_before>{ stdenv
, gperf
, fetchurl
, pkgconfig
, intltool
, itstool
, lib

, avahi
, glib
, gmime
#, gnome-online-accounts
, gom
, grilo
, gssdp
, gupnp
, gupnp-av
, json-glib
, libarchive
, libgdata
, libmediaart
, liboauth
, libsoup
, libxml2
, lua5
, rest
, sqlite
, totem-pl-parser
, tracker
}:

let
  channel = "0.3";
  version = "${channel}.5";
in
stdenv.mkDerivation rec {
  name = "grilo-plugins-${version}";

  src = fetchurl {
    url = "mirror://gnome/sources/grilo-plugins/${channel}/${name}.tar.xz";
    hashOutput = false;
    sha256 = "2977827b8ecb3e15535236180e57dc35e85058d111349bdb6a1597e62a5068fb";
  };

  nativeBuildInputs = [
    gperf
    intltool
    itstool
  ];

  buildInputs = [
    avahi
    glib
    gmime
    #gnome-online-accounts
    gom
    grilo
    json-glib
    libarchive
    libgdata
    libmediaart
    liboauth
    libsoup
    libxml2
    lua5
    sqlite
    totem-pl-parser
    tracker
  ];

  configureFlags = [
    "--enable-compile-warnings"<commit_msg>grilo-plugins: fix lua references<commit_after>{ stdenv
, gperf
, fetchurl
, pkgconfig
, intltool
, itstool
, lib

, avahi
, glib
, gmime
#, gnome-online-accounts
, gom
, grilo
, gssdp
, gupnp
, gupnp-av
, json-glib
, libarchive
, libgdata
, libmediaart
, liboauth
, libsoup
, libxml2
, lua
, rest
, sqlite
, totem-pl-parser
, tracker
}:

let
  channel = "0.3";
  version = "${channel}.5";
in
stdenv.mkDerivation rec {
  name = "grilo-plugins-${version}";

  src = fetchurl {
    url = "mirror://gnome/sources/grilo-plugins/${channel}/${name}.tar.xz";
    hashOutput = false;
    sha256 = "2977827b8ecb3e15535236180e57dc35e85058d111349bdb6a1597e62a5068fb";
  };

  nativeBuildInputs = [
    gperf
    intltool
    itstool
  ];

  buildInputs = [
    avahi
    glib
    gmime
    #gnome-online-accounts
    gom
    grilo
    json-glib
    libarchive
    libgdata
    libmediaart
    liboauth
    libsoup
    libxml2
    lua
    sqlite
    totem-pl-parser
    tracker
  ];

  configureFlags = [
    "--enable-compile-warnings"
{'fraction_non_alphanumeric': 0.11527093596059114, 'fraction_numerical': 0.054187192118226604, 'mean_word_length': 2.7680890538033394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '2354310', 'n_tokens_mistral': 911, 'n_tokens_neox': 819, 'n_words': 144}