<commit_before>{ stdenv, fetchFromGitHub
, qtbase, qtwebengine
, qmakeHook }:

stdenv.mkDerivation rec {
  version = "0.5.7";
  name = "qsyncthingtray-${version}";

  src = fetchFromGitHub {
    owner = "sieren";
    repo = "QSyncthingTray";
    rev = "${version}";
    sha256 = "0crrdpdmlc4ahkvp5znzc4zhfwsdih655q1kfjf0g231mmynxhvq";
  };

  buildInputs = [ qtbase qtwebengine ];
  nativeBuildInputs = [ qmakeHook ];
  enableParallelBuilding = true;
  
  postInstall = ''
    mkdir -p $out/bin
    cp binary/QSyncthingTray $out/bin
  '';

  meta = with stdenv.lib; {
    homepage = https://github.com/sieren/QSyncthingTray/;
    description = "A Traybar Application for Syncthing written in C++";
    longDescription = ''
        A cross-platform status bar for Syncthing.
        Currently supports OS X, Windows and Linux.
        Written in C++ with Qt.
    '';
    license = licenses.lgpl3;
    maintainers = with maintainers; [ zraexy ];
    platforms = platforms.all;
  };<commit_msg>qsyncthingtray: broken on qt 5.7<commit_after>{ stdenv, fetchFromGitHub
, qtbase, qtwebengine
, qmakeHook }:

stdenv.mkDerivation rec {
  version = "0.5.7";
  name = "qsyncthingtray-${version}";

  src = fetchFromGitHub {
    owner = "sieren";
    repo = "QSyncthingTray";
    rev = "${version}";
    sha256 = "0crrdpdmlc4ahkvp5znzc4zhfwsdih655q1kfjf0g231mmynxhvq";
  };

  buildInputs = [ qtbase qtwebengine ];
  nativeBuildInputs = [ qmakeHook ];
  enableParallelBuilding = true;

  postInstall = ''
    mkdir -p $out/bin
    cp binary/QSyncthingTray $out/bin
  '';

  meta = with stdenv.lib; {
    homepage = https://github.com/sieren/QSyncthingTray/;
    description = "A Traybar Application for Syncthing written in C++";
    longDescription = ''
        A cross-platform status bar for Syncthing.
        Currently supports OS X, Windows and Linux.
        Written in C++ with Qt.
    '';
    license = licenses.lgpl3;
    maintainers = with maintainers; [ zraexy ];
    platforms = platforms.all;
    broken = builtins.compareVersions qtbase.version "5.7.0" >= 0;
  };
{'fraction_non_alphanumeric': 0.1181026137463698, 'fraction_numerical': 0.021297192642787996, 'mean_word_length': 3.175757575757576, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3514678', 'n_tokens_mistral': 782, 'n_tokens_neox': 754, 'n_words': 163}