<commit_before>{ stdenv, pkgconfig, python3, fetchhg, gtk3, glib, gdbm, gtkspell3, ofono, itstool, libappindicator-gtk3, perlPackages, glibcLocales, meson, ninja }:

stdenv.mkDerivation rec {
  name = "modem-manager-gui-${version}";
  version = "0.0.19.1";

  src = fetchhg {
    url = https://linuxonly@bitbucket.org/linuxonly/modem-manager-gui;
    rev = "version ${version}";
    sha256 = "11iibh36567814h2bz41sa1072b86p1l13xyj670pwkh9k8kw8fd";
  };

  LC_ALL = "en_US.utf-8";

  nativeBuildInputs = [
    pkgconfig
    python3
    perlPackages.Po4a
    itstool
    glibcLocales
    meson
    ninja
  ];

  buildInputs = [
    gtk3
    glib
    gdbm
    gtkspell3
    ofono
    libappindicator-gtk3
  ];

  postPatch = ''<commit_msg>modem-manager-gui: clean up<commit_after>{ stdenv
, pkgconfig
, python3
, fetchhg
, gtk3
, glib
, gdbm
, gtkspell3
, ofono
, itstool
, libappindicator-gtk3
, perlPackages
, glibcLocales
, meson
, ninja
}:

stdenv.mkDerivation rec {
  pname = "modem-manager-gui";
  version = "0.0.19.1";

  src = fetchhg {
    url = https://linuxonly@bitbucket.org/linuxonly/modem-manager-gui;
    rev = "version ${version}";
    sha256 = "11iibh36567814h2bz41sa1072b86p1l13xyj670pwkh9k8kw8fd";
  };

  nativeBuildInputs = [
    pkgconfig
    python3
    perlPackages.Po4a
    itstool
    meson
    ninja
  ];

  buildInputs = [
    gtk3
    glib
    gdbm
    gtkspell3
    ofono
    libappindicator-gtk3
  ];

  postPatch = ''
{'fraction_non_alphanumeric': 0.11272475795297372, 'fraction_numerical': 0.06293222683264177, 'mean_word_length': 3.053221288515406, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '1084995', 'n_tokens_mistral': 662, 'n_tokens_neox': 607, 'n_words': 97}