···6464 license = licenses.lgpl3;6565 maintainers = with maintainers; [ zraexy peterhoeg ];6666 platforms = platforms.all;6767- # 0.5.7 segfaults when opening the main panel with qt 5.7 and fails to compile with qt 5.86868- # but qt > 5.6 works when only using the native browser6969- # https://github.com/sieren/QSyncthingTray/issues/2237070- broken = (builtins.compareVersions qtbase.version "5.7.0" >= 0 && !preferNative) || stdenv.isDarwin;6767+ broken = !preferNative || stdenv.isDarwin;7168 };7269}
···11-{ lib, mkDerivation, appstream, qtbase, qttools, nixosTests }:11+{ mkDerivation, appstream, qtbase, qttools, nixosTests }:2233# TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here44···14141515 mesonFlags = appstream.mesonFlags ++ [ "-Dqt=true" ];16161717- patches = (appstream.patches or []) ++ lib.optionals (lib.versionOlder qtbase.version "5.14") [1818- # Fix darwin build for libsForQt5.appstream-qt1919- # Old Qt moc doesn't know about fancy C++14 features2020- # ../qt/component.h:93: Parse error at "UrlTranslate"2121- # Remove both this patch and related comment in default.nix2222- # once Qt 5.14 or later becomes default on darwin2323- ./fix-build-for-qt-olderthan-514.patch2424- ];1717+ patches = appstream.patches;25182619 postFixup = ''2720 sed -i "$dev/lib/cmake/AppStreamQt/AppStreamQtConfig.cmake" \