lol

Merge pull request #220054 from Scrumplex/init-qt6ct

qt6ct: init at 0.8

authored by

José Romildo Malaquias and committed by
GitHub
4607765a cf8678f5

+46 -1
+1 -1
nixos/modules/config/qt.nix
··· 20 20 pkgs.adwaita-qt6 21 21 ] 22 22 else if isQtStyle then [ pkgs.libsForQt5.qtstyleplugins ] 23 - else if isQt5ct then [ pkgs.libsForQt5.qt5ct ] 23 + else if isQt5ct then [ pkgs.libsForQt5.qt5ct pkgs.qt6Packages.qt6ct ] 24 24 else if isLxqt then [ pkgs.lxqt.lxqt-qtplugin pkgs.lxqt.lxqt-config ] 25 25 else if isKde then [ pkgs.libsForQt5.plasma-integration pkgs.libsForQt5.systemsettings ] 26 26 else throw "`qt.platformTheme` ${cfg.platformTheme} and `qt.style` ${cfg.style} are not compatible.";
+42
pkgs/tools/misc/qt6ct/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , qtbase 5 + , qtsvg 6 + , qtwayland 7 + , qmake 8 + , qttools 9 + , wrapQtAppsHook 10 + }: 11 + let 12 + inherit (lib) getDev; 13 + in 14 + stdenv.mkDerivation rec { 15 + pname = "qt6ct"; 16 + version = "0.8"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "trialuser02"; 20 + repo = "qt6ct"; 21 + rev = version; 22 + sha256 = "BFE5aUgn3uFJWTgd4sUwP2L9RZwwwr5jVtAapA9vYbA="; 23 + }; 24 + 25 + nativeBuildInputs = [ qmake qttools wrapQtAppsHook ]; 26 + 27 + buildInputs = [ qtbase qtsvg qtwayland ]; 28 + 29 + qmakeFlags = [ 30 + "LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease" 31 + "PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}" 32 + "LIBDIR=${placeholder "out"}/lib" 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "Qt6 Configuration Tool"; 37 + homepage = "https://github.com/trialuser02/qt6ct"; 38 + platforms = platforms.linux; 39 + license = licenses.bsd2; 40 + maintainers = with maintainers; [ Flakebi Scrumplex ]; 41 + }; 42 + }
+1
pkgs/top-level/aliases.nix
··· 1417 1417 qt514 = throw "Qt 5 versions prior to 5.15 are no longer supported upstream and have been removed"; # Added 2022-11-24 1418 1418 qt515 = qt5; # Added 2022-11-24 1419 1419 qt5ct = libsForQt5.qt5ct; # Added 2021-12-27 1420 + qt6ct = qt6Packages.qt6ct; # Added 2023-03-07 1420 1421 qtcurve = libsForQt5.qtcurve; # Added 2020-11-07 1421 1422 qtile-unwrapped = python3.pkgs.qtile; # Added 2023-05-12 1422 1423 qtkeychain = throw "the qtkeychain attribute (qt4 version) has been removes, use the qt5 version: libsForQt5.qtkeychain"; # Added 2021-08-04
+2
pkgs/top-level/qt6-packages.nix
··· 31 31 32 32 inherit (kdeFrameworks) kcoreaddons; 33 33 34 + qt6ct = callPackage ../tools/misc/qt6ct { }; 35 + 34 36 qtkeychain = callPackage ../development/libraries/qtkeychain { 35 37 inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security; 36 38 };