<commit_before>{ stdenv, fetchFromGitHub, qtbase, qtserialport, cmake }:

stdenv.mkDerivation rec {
  name = "cutecom-${version}";
  version = "0.45.0";
  src = fetchFromGitHub {
    owner = "neundorf";
    repo = "CuteCom";
    rev = "v${version}";
    sha256 = "07h1r7bcz86fvcvxq6g5zyh7fsginx27jbp81a7hjhhhn6v0dsmh";
  };

  preConfigure = ''
    substituteInPlace CMakeLists.txt --replace "#find_package(Serialport REQUIRED)" "find_package(Qt5SerialPort REQUIRED)"
  '';
  buildInputs = [qtbase qtserialport cmake];

  meta = {
    description = "A graphical serial terminal";
    homepage = http://cutecom.sourceforge.net/;
    license = stdenv.lib.licenses.gpl2Plus;
    maintainers = [ stdenv.lib.maintainers.bennofs ];
    platforms = stdenv.lib.platforms.linux;<commit_msg>cutecom: 0.45.0 -> 0.50.0 (#45838)<commit_after>{ stdenv, fetchFromGitHub, qtbase, qtserialport, cmake }:

stdenv.mkDerivation rec {
  name = "cutecom-${version}";
  version = "0.50.0";
  src = fetchFromGitHub {
    owner = "neundorf";
    repo = "CuteCom";
    rev = "v${version}";
    sha256 = "0zjmbjrwwan9z5cphqjcq2h71cm4mw88j457lzdqb29cg4bdn3ag";
  };

  preConfigure = ''
    substituteInPlace CMakeLists.txt --replace "#find_package(Serialport REQUIRED)" "find_package(Qt5SerialPort REQUIRED)"
  '';
  buildInputs = [qtbase qtserialport cmake];

  meta = {
    description = "A graphical serial terminal";
    homepage = http://cutecom.sourceforge.net/;
    license = stdenv.lib.licenses.gpl2Plus;
    maintainers = [ stdenv.lib.maintainers.bennofs ];
    platforms = stdenv.lib.platforms.linux;
{'fraction_non_alphanumeric': 0.1351863550221099, 'fraction_numerical': 0.03979785217940619, 'mean_word_length': 4.076923076923077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2630238', 'n_tokens_mistral': 651, 'n_tokens_neox': 607, 'n_words': 98}