base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12 (#356361)
[NixPkgs.git] / pkgs / top-level / qt6-packages.nix
blobebf433e667ee5276553a7dcb0a1a69649c0f2c36
1 # Qt packages set.
3 # Attributes in this file are packages requiring Qt and will be made available
4 # for every Qt version. Qt applications are called from `all-packages.nix` via
5 # this file.
7 { lib
8 , __splicedPackages
9 , makeScopeWithSplicing'
10 , generateSplicesForMkScope
11 , stdenv
12 , pkgsHostTarget
13 , kdePackages
16 let
17   pkgs = __splicedPackages;
18   # qt6 set should not be pre-spliced to prevent spliced packages being a part of an unspliced set
19   # 'pkgsCross.aarch64-multiplatform.pkgsBuildTarget.targetPackages.qt6Packages.qtbase' should not have a `__spliced` but if qt6 is pre-spliced then it will have one.
20   # pkgsHostTarget == pkgs
21   qt6 = pkgsHostTarget.qt6;
24 makeScopeWithSplicing' {
25   otherSplices = generateSplicesForMkScope "qt6Packages";
26   f = (self: let
27     inherit (self) callPackage;
28     noExtraAttrs = set: lib.attrsets.removeAttrs set [ "extend" "override" "overrideScope" "overrideScope'" "overrideDerivation" ];
29   in (noExtraAttrs qt6) // {
30   inherit stdenv;
32   # LIBRARIES
33   accounts-qt = callPackage ../development/libraries/accounts-qt { };
34   appstream-qt = callPackage ../development/libraries/appstream/qt.nix { };
36   drumstick = callPackage ../development/libraries/drumstick { };
38   fcitx5-chinese-addons = callPackage ../tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix { };
40   fcitx5-configtool = kdePackages.callPackage ../tools/inputmethods/fcitx5/fcitx5-configtool.nix { };
42   fcitx5-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-qt.nix { };
44   fcitx5-skk-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-skk.nix { enableQt = true; };
46   fcitx5-unikey = callPackage ../tools/inputmethods/fcitx5/fcitx5-unikey.nix { };
48   fcitx5-with-addons = callPackage ../tools/inputmethods/fcitx5/with-addons.nix { };
50   kdsoap = callPackage ../development/libraries/kdsoap { };
52   kcolorpicker = callPackage ../development/libraries/kcolorpicker { };
53   kimageannotator = callPackage ../development/libraries/kimageannotator { };
55   futuresql = callPackage ../development/libraries/futuresql { };
56   kquickimageedit = callPackage ../development/libraries/kquickimageedit { };
57   libqaccessibilityclient = callPackage ../development/libraries/libqaccessibilityclient { };
58   libquotient = callPackage ../development/libraries/libquotient { };
59   mlt = pkgs.mlt.override {
60     qt = qt6;
61   };
63   qca = pkgs.darwin.apple_sdk_11_0.callPackage ../development/libraries/qca {
64     inherit (qt6) qtbase qt5compat;
65   };
66   qcoro = callPackage ../development/libraries/qcoro { };
67   qgpgme = callPackage ../development/libraries/gpgme { };
68   qmlbox2d = callPackage ../development/libraries/qmlbox2d { };
69   packagekit-qt = callPackage ../tools/package-management/packagekit/qt.nix { };
71   qt6ct = callPackage ../tools/misc/qt6ct { };
73   qt6gtk2 = callPackage ../tools/misc/qt6gtk2 { };
75   qtforkawesome = callPackage ../development/libraries/qtforkawesome { };
77   qtkeychain = callPackage ../development/libraries/qtkeychain {
78     inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
79   };
81   qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { };
83   qtstyleplugin-kvantum = kdePackages.callPackage ../development/libraries/qtstyleplugin-kvantum { };
85   qtutilities = callPackage ../development/libraries/qtutilities { };
87   quazip = callPackage ../development/libraries/quazip { };
89   qscintilla = callPackage ../development/libraries/qscintilla { };
91   qwlroots = callPackage ../development/libraries/qwlroots {
92     wlroots = pkgs.wlroots_0_17;
93   };
95   qxlsx = callPackage ../development/libraries/qxlsx { };
97   qzxing = callPackage ../development/libraries/qzxing { };
99   poppler = callPackage ../development/libraries/poppler {
100     lcms = pkgs.lcms2;
101     qt6Support = true;
102     suffix = "qt6";
103   };
105   # Not a library, but we do want it to be built for every qt version there
106   # is, to allow users to choose the right build if needed.
107   sddm = kdePackages.callPackage ../applications/display-managers/sddm {};
109   sierra-breeze-enhanced = kdePackages.callPackage ../data/themes/kwin-decorations/sierra-breeze-enhanced { };
111   signond = callPackage ../development/libraries/signond {};
113   waylib = callPackage ../development/libraries/waylib { };
115   wayqt = callPackage ../development/libraries/wayqt { };
117   xwaylandvideobridge = kdePackages.callPackage ../tools/wayland/xwaylandvideobridge { };
118   } // lib.optionalAttrs pkgs.config.allowAliases {
119     # Remove completely before 24.11
120     overrideScope' = builtins.throw "qt6Packages now uses makeScopeWithSplicing which does not have \"overrideScope'\", use \"overrideScope\".";
121   });