2021-10-16 15:22:24 +03:00
# Qt packages set.
#
# Attributes in this file are packages requiring Qt and will be made available
# for every Qt version. Qt applications are called from `all-packages.nix` via
# this file.
{ lib
2023-11-11 22:27:08 +03:00
, __splicedPackages
, makeScopeWithSplicing'
, generateSplicesForMkScope
2023-01-24 01:56:22 +03:00
, stdenv
2023-11-24 17:35:29 +03:00
, pkgsHostTarget
2024-03-01 19:10:27 +03:00
, kdePackages
2021-10-16 15:22:24 +03:00
} :
let
2023-11-11 22:27:08 +03:00
pkgs = __splicedPackages ;
# qt6 set should not be pre-spliced to prevent spliced packages being a part of an unspliced set
# 'pkgsCross.aarch64-multiplatform.pkgsBuildTarget.targetPackages.qt6Packages.qtbase' should not have a `__spliced` but if qt6 is pre-spliced then it will have one.
2023-11-24 17:35:29 +03:00
# pkgsHostTarget == pkgs
qt6 = pkgsHostTarget . qt6 ;
2021-10-16 15:22:24 +03:00
in
2023-11-11 22:27:08 +03:00
makeScopeWithSplicing' {
otherSplices = generateSplicesForMkScope " q t 6 P a c k a g e s " ;
f = ( self : let
inherit ( self ) callPackage ;
noExtraAttrs = set : lib . attrsets . removeAttrs set [ " e x t e n d " " o v e r r i d e " " o v e r r i d e S c o p e " " o v e r r i d e S c o p e ' " " o v e r r i d e D e r i v a t i o n " ] ;
in ( noExtraAttrs qt6 ) // {
2023-01-24 01:56:22 +03:00
inherit stdenv ;
2022-05-28 11:27:03 +03:00
# LIBRARIES
2024-02-22 12:41:41 +03:00
accounts-qt = callPackage ../development/libraries/accounts-qt { } ;
2024-01-06 10:43:38 +03:00
appstream-qt = callPackage ../development/libraries/appstream/qt.nix { } ;
2024-01-07 09:00:43 +03:00
fcitx5-chinese-addons = callPackage ../tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix { } ;
2024-03-01 19:10:27 +03:00
fcitx5-configtool = kdePackages . callPackage ../tools/inputmethods/fcitx5/fcitx5-configtool.nix { } ;
2024-02-29 06:28:22 +03:00
fcitx5-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-qt.nix { } ;
2024-01-09 00:11:12 +03:00
fcitx5-skk-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-skk.nix { enableQt = true ; } ;
2024-01-09 00:08:12 +03:00
fcitx5-unikey = callPackage ../tools/inputmethods/fcitx5/fcitx5-unikey.nix { } ;
2024-03-01 19:10:54 +03:00
fcitx5-with-addons = callPackage ../tools/inputmethods/fcitx5/with-addons.nix { } ;
2023-11-11 17:40:32 +03:00
kdsoap = callPackage ../development/libraries/kdsoap { } ;
2022-05-28 11:27:03 +03:00
2024-02-28 15:00:45 +03:00
kcolorpicker = callPackage ../development/libraries/kcolorpicker { } ;
kimageannotator = callPackage ../development/libraries/kimageannotator { } ;
2023-11-12 11:17:56 +03:00
futuresql = callPackage ../development/libraries/futuresql { } ;
2023-11-12 11:18:05 +03:00
kquickimageedit = callPackage ../development/libraries/kquickimageedit { } ;
2023-11-12 11:21:13 +03:00
libqaccessibilityclient = callPackage ../development/libraries/libqaccessibilityclient { } ;
2023-11-23 22:41:22 +03:00
libquotient = callPackage ../development/libraries/libquotient { } ;
2023-11-23 15:56:23 +03:00
mlt = pkgs . mlt . override {
qt = qt6 ;
} ;
2023-11-12 11:17:56 +03:00
2023-11-11 17:41:38 +03:00
qca = pkgs . darwin . apple_sdk_11_0 . callPackage ../development/libraries/qca {
inherit ( qt6 ) qtbase qt5compat ;
} ;
2023-11-27 11:00:31 +03:00
qcoro = callPackage ../development/libraries/qcoro { } ;
2023-11-23 22:20:30 +03:00
qgpgme = callPackage ../development/libraries/gpgme { } ;
2023-11-11 17:44:40 +03:00
packagekit-qt = callPackage ../tools/package-management/packagekit/qt.nix { } ;
2023-11-11 17:41:38 +03:00
2023-03-08 00:17:10 +03:00
qt6ct = callPackage ../tools/misc/qt6ct { } ;
2023-07-26 20:51:40 +03:00
qt6gtk2 = callPackage ../tools/misc/qt6gtk2 { } ;
2023-12-01 16:10:25 +03:00
qtforkawesome = callPackage ../development/libraries/qtforkawesome { } ;
2023-04-28 10:48:05 +03:00
qtkeychain = callPackage ../development/libraries/qtkeychain {
inherit ( pkgs . darwin . apple_sdk . frameworks ) CoreFoundation Security ;
} ;
2022-11-16 06:42:19 +03:00
qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { } ;
2023-08-03 18:01:56 +03:00
qtstyleplugin-kvantum = callPackage ../development/libraries/qtstyleplugin-kvantum {
qt5Kvantum = pkgs . libsForQt5 . qtstyleplugin-kvantum ;
} ;
2023-03-27 16:19:36 +03:00
2023-12-01 16:10:33 +03:00
qtutilities = callPackage ../development/libraries/qtutilities { } ;
2022-05-28 11:27:03 +03:00
quazip = callPackage ../development/libraries/quazip { } ;
2022-08-26 21:53:02 +03:00
2023-09-20 19:08:53 +03:00
qscintilla = callPackage ../development/libraries/qscintilla { } ;
2024-01-12 22:46:29 +03:00
qwlroots = callPackage ../development/libraries/qwlroots {
wlroots = pkgs . wlroots_0_17 ;
} ;
2022-11-04 19:16:02 +03:00
qxlsx = callPackage ../development/libraries/qxlsx { } ;
2023-10-13 16:17:39 +03:00
qzxing = callPackage ../development/libraries/qzxing { } ;
2022-08-26 21:53:02 +03:00
poppler = callPackage ../development/libraries/poppler {
lcms = pkgs . lcms2 ;
qt6Support = true ;
suffix = " q t 6 " ;
} ;
2023-11-11 22:27:08 +03:00
2023-11-30 08:43:02 +03:00
# Not a library, but we do want it to be built for every qt version there
# is, to allow users to choose the right build if needed.
sddm = callPackage ../applications/display-managers/sddm { } ;
2024-02-22 12:41:41 +03:00
signond = callPackage ../development/libraries/signond { } ;
2024-02-01 12:19:50 +03:00
waylib = callPackage ../development/libraries/waylib { } ;
2023-10-28 12:43:07 +03:00
wayqt = callPackage ../development/libraries/wayqt { } ;
2023-11-11 22:27:08 +03:00
} // lib . optionalAttrs pkgs . config . allowAliases {
# Convert to a throw on 01-01-2023.
# Warnings show up in various cli tool outputs, throws do not.
# Remove completely before 24.05
overrideScope' = lib . warn " q t 6 P a c k a g e s n o w u s e s m a k e S c o p e W i t h S p l i c i n g w h i c h d o e s n o t h a v e \" o v e r r i d e S c o p e ' \" , u s e \" o v e r r i d e S c o p e \" . " self . overrideScope ;
} ) ;
}