biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / top-level / qt5-packages.nix
blobd5d6c87f9b472a9e45a22e3acbfe452f16403c54
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" "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   maui-core = libsForQt5.callPackage ../development/libraries/maui-core { };
185   mlt = pkgs.mlt.override {
186     qt = qt5;
187   };
189   phonon = callPackage ../development/libraries/phonon { };
191   phonon-backend-gstreamer = callPackage ../development/libraries/phonon/backends/gstreamer.nix { };
193   phonon-backend-vlc = callPackage ../development/libraries/phonon/backends/vlc.nix { };
195   plasma-wayland-protocols = callPackage ../development/libraries/plasma-wayland-protocols { };
197   polkit-qt = callPackage ../development/libraries/polkit-qt-1 { };
199   poppler = callPackage ../development/libraries/poppler {
200     lcms = pkgs.lcms2;
201     qt5Support = true;
202     suffix = "qt5";
203   };
205   pulseaudio-qt = callPackage ../development/libraries/pulseaudio-qt { };
207   qca = callPackage ../development/libraries/qca {
208     stdenv = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.overrideSDK pkgs.stdenv "11.0" else pkgs.stdenv;
209     inherit (libsForQt5) qtbase;
210   };
211   qca-qt5 = self.qca;
213   qcoro = callPackage ../development/libraries/qcoro { };
215   qcsxcad = callPackage ../development/libraries/science/electronics/qcsxcad { };
217   qjson = callPackage ../development/libraries/qjson { };
219   qmltermwidget = callPackage ../development/libraries/qmltermwidget {
220     inherit (pkgs.darwin.apple_sdk.libs) utmp;
221   };
223   qmlbox2d = callPackage ../development/libraries/qmlbox2d { };
225   qoauth = callPackage ../development/libraries/qoauth { };
227   qt5ct = callPackage ../tools/misc/qt5ct { };
229   qtdbusextended = callPackage ../development/libraries/qtdbusextended { };
231   qtfeedback = callPackage ../development/libraries/qtfeedback { };
233   qtforkawesome = callPackage ../development/libraries/qtforkawesome { };
235   qtutilities = callPackage ../development/libraries/qtutilities { };
237   qtinstaller = callPackage ../development/libraries/qtinstaller { };
239   qtkeychain = callPackage ../development/libraries/qtkeychain {
240     stdenv = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.overrideSDK pkgs.stdenv "11.0" else pkgs.stdenv;
241     inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
242   };
244   qtmpris = callPackage ../development/libraries/qtmpris { };
246   qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { };
248   qtstyleplugins = callPackage ../development/libraries/qtstyleplugins { };
250   qtstyleplugin-kvantum = callPackage ../development/libraries/qtstyleplugin-kvantum {
251     qt6Kvantum = pkgs.qt6Packages.qtstyleplugin-kvantum;
252   };
254   quazip = callPackage ../development/libraries/quazip { };
256   quickflux = callPackage ../development/libraries/quickflux { };
258   qscintilla = callPackage ../development/libraries/qscintilla { };
260   qwt = callPackage ../development/libraries/qwt/default.nix { };
262   qwt6_1 = callPackage ../development/libraries/qwt/6_1.nix { };
264   qxlsx = callPackage ../development/libraries/qxlsx { };
266   qzxing = callPackage ../development/libraries/qzxing { };
268   rlottie-qml = callPackage ../development/libraries/rlottie-qml { };
270   sierra-breeze-enhanced = callPackage ../data/themes/kwin-decorations/sierra-breeze-enhanced { useQt5 = true; };
272   soqt = callPackage ../development/libraries/soqt { };
274   telepathy = callPackage ../development/libraries/telepathy/qt { };
276   qtwebkit-plugins = callPackage ../development/libraries/qtwebkit-plugins { };
278   # Not a library, but we do want it to be built for every qt version there
279   # is, to allow users to choose the right build if needed.
280   sddm = callPackage ../applications/display-managers/sddm { };
282   signond = callPackage ../development/libraries/signond {};
284   soundkonverter = callPackage ../applications/audio/soundkonverter {};
286   xp-pen-deco-01-v2-driver = callPackage ../os-specific/linux/xp-pen-drivers/deco-01-v2 { };
288   xp-pen-g430-driver = callPackage ../os-specific/linux/xp-pen-drivers/g430 { };
290   xwaylandvideobridge = callPackage ../tools/wayland/xwaylandvideobridge { };
292   yuview = callPackage ../applications/video/yuview { };
293 }) // lib.optionalAttrs pkgs.config.allowAliases {
294   # Remove completely before 24.11
295   overrideScope' = builtins.throw "libsForQt5 now uses makeScopeWithSplicing which does not have \"overrideScope'\", use \"overrideScope\".";
296 }));