wlvncc: unstable-2023-01-05 -> unstable-2024-11-24 (#357566)
[NixPkgs.git] / pkgs / top-level / qt5-packages.nix
blob028b1196fc9609b6bd40d96b50b81b3aaf605fbc
2 # Qt packages set.
4 # Attributes in this file are packages requiring Qt and will be made available
5 # for every Qt version. Qt applications are called from `all-packages.nix` via
6 # this file.
9 { lib
10 , __splicedPackages
11 , makeScopeWithSplicing'
12 , generateSplicesForMkScope
13 , pkgsHostTarget
16 let
17   pkgs = __splicedPackages;
18   # qt5 set should not be pre-spliced to prevent spliced packages being a part of an unspliced set
19   # 'pkgsCross.aarch64-multiplatform.pkgsBuildTarget.targetPackages.libsForQt5.qtbase' should not have a `__spliced` but if qt5 is pre-spliced then it will have one.
20   # pkgsHostTarget == pkgs
21   qt5 = pkgsHostTarget.qt5;
24 makeScopeWithSplicing' {
25   otherSplices = generateSplicesForMkScope "libsForQt5";
26   f = (self: let
27   libsForQt5 = self;
28   callPackage = self.callPackage;
30   kdeFrameworks = let
31     mkFrameworks = import ../development/libraries/kde-frameworks;
32     attrs = {
33       inherit libsForQt5;
34       inherit (pkgs) lib fetchurl;
35     };
36   in (lib.makeOverridable mkFrameworks attrs);
38   plasma5 = let
39     mkPlasma5 = import ../desktops/plasma-5;
40     attrs = {
41       inherit libsForQt5;
42       inherit (pkgs) config lib fetchurl;
43       inherit (pkgs) gsettings-desktop-schemas;
44     };
45   in (lib.makeOverridable mkPlasma5 attrs);
47   kdeGear = let
48     mkGear = import ../applications/kde;
49     attrs = {
50       inherit libsForQt5;
51       inherit (pkgs) lib fetchurl;
52     };
53   in (lib.makeOverridable mkGear attrs);
55   plasmaMobileGear = let
56     mkPlamoGear = import ../applications/plasma-mobile;
57     attrs = {
58       inherit libsForQt5;
59       inherit (pkgs) lib fetchurl;
60     };
61   in (lib.makeOverridable mkPlamoGear attrs);
63   mauiPackages = let
64     mkMaui = import ../applications/maui;
65     attrs = {
66       inherit libsForQt5;
67       inherit (pkgs) lib fetchurl;
68     };
69   in (lib.makeOverridable mkMaui attrs);
71   noExtraAttrs = set: lib.attrsets.removeAttrs set [ "extend" "override" "overrideScope" "overrideDerivation" ];
73 in (noExtraAttrs (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGear // mauiPackages // qt5 // {
75   inherit kdeFrameworks plasmaMobileGear plasma5 kdeGear mauiPackages qt5;
77   # Alias for backwards compatibility. Added 2021-05-07.
78   kdeApplications = kdeGear;
80   ### LIBRARIES
82   accounts-qml-module = callPackage ../development/libraries/accounts-qml-module { };
84   accounts-qt = callPackage ../development/libraries/accounts-qt { };
86   alkimia = callPackage ../development/libraries/alkimia { };
88   applet-window-appmenu = callPackage ../development/libraries/applet-window-appmenu { };
90   applet-window-buttons = callPackage ../development/libraries/applet-window-buttons { };
92   appstream-qt = callPackage ../development/libraries/appstream/qt.nix { };
94   dxflib = callPackage ../development/libraries/dxflib {};
96   drumstick = callPackage ../development/libraries/drumstick { };
98   fcitx5-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-qt.nix { };
100   fcitx5-chinese-addons = callPackage ../tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix { };
102   fcitx5-configtool = callPackage ../tools/inputmethods/fcitx5/fcitx5-configtool.nix { };
104   fcitx5-skk-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-skk.nix { enableQt = true; };
106   fcitx5-unikey = callPackage ../tools/inputmethods/fcitx5/fcitx5-unikey.nix { };
108   fcitx5-with-addons = callPackage ../tools/inputmethods/fcitx5/with-addons.nix { };
110   futuresql = callPackage ../development/libraries/futuresql { };
112   qgpgme = callPackage ../development/libraries/gpgme { };
114   grantlee = callPackage ../development/libraries/grantlee/5 { };
116   qtcurve = callPackage ../data/themes/qtcurve {};
118   herqq = callPackage ../development/libraries/herqq { };
120   kdb = callPackage ../development/libraries/kdb { };
122   kde2-decoration = callPackage ../data/themes/kde2 { };
124   kcolorpicker = callPackage ../development/libraries/kcolorpicker { };
126   kdiagram = callPackage ../development/libraries/kdiagram { };
128   kdsoap = callPackage ../development/libraries/kdsoap { };
130   kf5gpgmepp = callPackage ../development/libraries/kf5gpgmepp { };
132   kirigami-addons = libsForQt5.callPackage ../development/libraries/kirigami-addons { };
134   kimageannotator = callPackage ../development/libraries/kimageannotator { };
136   kproperty = callPackage ../development/libraries/kproperty { };
138   kpeoplevcard = callPackage ../development/libraries/kpeoplevcard { };
140   kreport = callPackage ../development/libraries/kreport { };
142   kquickimageedit = callPackage ../development/libraries/kquickimageedit { };
144   kuserfeedback = callPackage ../development/libraries/kuserfeedback { };
146   kweathercore = libsForQt5.callPackage ../development/libraries/kweathercore { };
148   ldutils = callPackage ../development/libraries/ldutils { };
150   libcommuni = callPackage ../development/libraries/libcommuni { };
152   libdbusmenu = callPackage ../development/libraries/libdbusmenu-qt/qt-5.5.nix { };
154   liblastfm = callPackage ../development/libraries/liblastfm { };
156   libopenshot = callPackage ../development/libraries/libopenshot {
157     stdenv = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.overrideSDK pkgs.stdenv "11.0" else pkgs.stdenv;
158     python3 = pkgs.python311;
159   };
161   packagekit-qt = callPackage ../tools/package-management/packagekit/qt.nix { };
163   libopenshot-audio = callPackage ../development/libraries/libopenshot-audio {
164     inherit (pkgs.darwin.apple_sdk.frameworks) Accelerate AGL Cocoa Foundation;
165   };
167   libqglviewer = callPackage ../development/libraries/libqglviewer {
168     inherit (pkgs.darwin.apple_sdk.frameworks) AGL;
169   };
171   libqofono = callPackage ../development/libraries/libqofono { };
173   libquotient = callPackage ../development/libraries/libquotient { };
175   libqaccessibilityclient = callPackage ../development/libraries/libqaccessibilityclient { };
177   mapbox-gl-native = libsForQt5.callPackage ../development/libraries/mapbox-gl-native { };
179   mapbox-gl-qml = libsForQt5.callPackage ../development/libraries/mapbox-gl-qml { };
181   maplibre-gl-native = callPackage ../development/libraries/maplibre-gl-native { };
183   maplibre-native-qt = callPackage ../development/libraries/maplibre-native-qt { };
185   maui-core = libsForQt5.callPackage ../development/libraries/maui-core { };
187   mlt = pkgs.mlt.override {
188     qt = qt5;
189   };
191   phonon = callPackage ../development/libraries/phonon { };
193   phonon-backend-gstreamer = callPackage ../development/libraries/phonon/backends/gstreamer.nix { };
195   phonon-backend-vlc = callPackage ../development/libraries/phonon/backends/vlc.nix { };
197   plasma-wayland-protocols = callPackage ../development/libraries/plasma-wayland-protocols { };
199   polkit-qt = callPackage ../development/libraries/polkit-qt-1 { };
201   poppler = callPackage ../development/libraries/poppler {
202     lcms = pkgs.lcms2;
203     qt5Support = true;
204     suffix = "qt5";
205   };
207   pulseaudio-qt = callPackage ../development/libraries/pulseaudio-qt { };
209   qca = callPackage ../development/libraries/qca {
210     stdenv = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.overrideSDK pkgs.stdenv "11.0" else pkgs.stdenv;
211     inherit (libsForQt5) qtbase;
212   };
213   qca-qt5 = self.qca;
215   qcoro = callPackage ../development/libraries/qcoro { };
217   qcsxcad = callPackage ../development/libraries/science/electronics/qcsxcad { };
219   qjson = callPackage ../development/libraries/qjson { };
221   qmltermwidget = callPackage ../development/libraries/qmltermwidget {
222     inherit (pkgs.darwin.apple_sdk.libs) utmp;
223   };
225   qmlbox2d = callPackage ../development/libraries/qmlbox2d { };
227   qoauth = callPackage ../development/libraries/qoauth { };
229   qt5ct = callPackage ../tools/misc/qt5ct { };
231   qtdbusextended = callPackage ../development/libraries/qtdbusextended { };
233   qtfeedback = callPackage ../development/libraries/qtfeedback { };
235   qtforkawesome = callPackage ../development/libraries/qtforkawesome { };
237   qtutilities = callPackage ../development/libraries/qtutilities { };
239   qtinstaller = callPackage ../development/libraries/qtinstaller { };
241   qtkeychain = callPackage ../development/libraries/qtkeychain {
242     stdenv = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.overrideSDK pkgs.stdenv "11.0" else pkgs.stdenv;
243     inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
244   };
246   qtmpris = callPackage ../development/libraries/qtmpris { };
248   qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { };
250   qtstyleplugins = callPackage ../development/libraries/qtstyleplugins { };
252   qtstyleplugin-kvantum = callPackage ../development/libraries/qtstyleplugin-kvantum {
253     qt6Kvantum = pkgs.qt6Packages.qtstyleplugin-kvantum;
254   };
256   quazip = callPackage ../development/libraries/quazip { };
258   quickflux = callPackage ../development/libraries/quickflux { };
260   qscintilla = callPackage ../development/libraries/qscintilla { };
262   qwt = callPackage ../development/libraries/qwt/default.nix { };
264   qwt6_1 = callPackage ../development/libraries/qwt/6_1.nix { };
266   qxlsx = callPackage ../development/libraries/qxlsx { };
268   qzxing = callPackage ../development/libraries/qzxing { };
270   rlottie-qml = callPackage ../development/libraries/rlottie-qml { };
272   sierra-breeze-enhanced = callPackage ../data/themes/kwin-decorations/sierra-breeze-enhanced { useQt5 = true; };
274   soqt = callPackage ../development/libraries/soqt { };
276   telepathy = callPackage ../development/libraries/telepathy/qt { };
278   qtwebkit-plugins = callPackage ../development/libraries/qtwebkit-plugins { };
280   # Not a library, but we do want it to be built for every qt version there
281   # is, to allow users to choose the right build if needed.
282   sddm = callPackage ../applications/display-managers/sddm { };
284   signond = callPackage ../development/libraries/signond {};
286   soundkonverter = callPackage ../applications/audio/soundkonverter {};
288   xp-pen-deco-01-v2-driver = callPackage ../os-specific/linux/xp-pen-drivers/deco-01-v2 { };
290   xp-pen-g430-driver = callPackage ../os-specific/linux/xp-pen-drivers/g430 { };
292   xwaylandvideobridge = callPackage ../tools/wayland/xwaylandvideobridge { };
294   yuview = callPackage ../applications/video/yuview { };
295 })));