<commit_before>{ stdenv, fetchurl, python27Packages, python36Packages, wmctrl }:

{
  stable = with python27Packages; buildPythonPackage rec {
    pname = "plover";
    version = "3.1.1";

    meta = with stdenv.lib; {
      description = "OpenSteno Plover stenography software";
      maintainers = with maintainers; [ <NAME> ];
      license     = licenses.gpl2;
    };

    src = fetchurl {
      url    = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz";
      sha256 = "1hdg5491phx6svrxxsxp8v6n4b25y7y4wxw7x3bxlbyhaskgj53r";
    };

    nativeBuildInputs     = [ setuptools_scm ];
    buildInputs           = [ pytest mock ];
    propagatedBuildInputs = [
      six setuptools pyserial appdirs hidapi wxPython xlib wmctrl
    ];
  };

  dev = with python36Packages; buildPythonPackage rec {
    pname = "plover";
    version = "4.0.0.dev8";

    meta = with stdenv.lib; {
      description = "OpenSteno Plover stenography software";
      maintainers = with maintainers; [ <NAME> ];
      license     = licenses.gpl2;
    };
<commit_msg>plover.stable: add missing dbus dependency<commit_after>{ stdenv, fetchurl, python27Packages, python36Packages, wmctrl }:

{
  stable = with python27Packages; buildPythonPackage rec {
    pname = "plover";
    version = "3.1.1";

    meta = with stdenv.lib; {
      description = "OpenSteno Plover stenography software";
      maintainers = with maintainers; [ <NAME> ];
      license     = licenses.gpl2;
    };

    src = fetchurl {
      url    = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz";
      sha256 = "1hdg5491phx6svrxxsxp8v6n4b25y7y4wxw7x3bxlbyhaskgj53r";
    };

    nativeBuildInputs     = [ setuptools_scm ];
    buildInputs           = [ pytest mock ];
    propagatedBuildInputs = [
      six setuptools pyserial appdirs hidapi wxPython xlib wmctrl dbus-python
    ];
  };

  dev = with python36Packages; buildPythonPackage rec {
    pname = "plover";
    version = "4.0.0.dev8";

    meta = with stdenv.lib; {
      description = "OpenSteno Plover stenography software";
      maintainers = with maintainers; [ <NAME> ];
      license     = licenses.gpl2;
    };

{'fraction_non_alphanumeric': 0.10916628281897743, 'fraction_numerical': 0.03408567480423768, 'mean_word_length': 2.851063829787234, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '2222259', 'n_tokens_mistral': 780, 'n_tokens_neox': 743, 'n_words': 149}