2022-06-16 17:23:12 +00: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
2024-01-02 11:29:13 +00:00
, __splicedPackages
, makeScopeWithSplicing'
, generateSplicesForMkScope
2023-02-02 18:25:31 +00:00
, stdenv
2024-01-02 11:29:13 +00:00
, pkgsHostTarget
2024-04-21 15:54:59 +00:00
, kdePackages
2022-06-16 17:23:12 +00:00
} :
let
2024-01-02 11:29:13 +00: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.
# pkgsHostTarget == pkgs
qt6 = pkgsHostTarget . qt6 ;
2022-06-16 17:23:12 +00:00
in
2024-01-02 11:29:13 +00: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-02-02 18:25:31 +00:00
inherit stdenv ;
2022-06-16 17:23:12 +00:00
# LIBRARIES
2024-02-29 20:09:43 +00:00
accounts-qt = callPackage ../development/libraries/accounts-qt { } ;
2024-01-13 08:15:51 +00:00
appstream-qt = callPackage ../development/libraries/appstream/qt.nix { } ;
2024-04-21 15:54:59 +00:00
drumstick = callPackage ../development/libraries/drumstick { } ;
fcitx5-chinese-addons = callPackage ../tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix { } ;
fcitx5-configtool = kdePackages . callPackage ../tools/inputmethods/fcitx5/fcitx5-configtool.nix { } ;
2024-02-29 20:09:43 +00:00
fcitx5-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-qt.nix { } ;
2024-04-21 15:54:59 +00:00
fcitx5-skk-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-skk.nix { enableQt = true ; } ;
fcitx5-unikey = callPackage ../tools/inputmethods/fcitx5/fcitx5-unikey.nix { } ;
fcitx5-with-addons = callPackage ../tools/inputmethods/fcitx5/with-addons.nix { } ;
2024-01-13 08:15:51 +00:00
kdsoap = callPackage ../development/libraries/kdsoap { } ;
2024-02-29 20:09:43 +00:00
kcolorpicker = callPackage ../development/libraries/kcolorpicker { } ;
kimageannotator = callPackage ../development/libraries/kimageannotator { } ;
2024-01-13 08:15:51 +00:00
futuresql = callPackage ../development/libraries/futuresql { } ;
kquickimageedit = callPackage ../development/libraries/kquickimageedit { } ;
libqaccessibilityclient = callPackage ../development/libraries/libqaccessibilityclient { } ;
libquotient = callPackage ../development/libraries/libquotient { } ;
mlt = pkgs . mlt . override {
qt = qt6 ;
} ;
qca = pkgs . darwin . apple_sdk_11_0 . callPackage ../development/libraries/qca {
inherit ( qt6 ) qtbase qt5compat ;
} ;
qcoro = callPackage ../development/libraries/qcoro { } ;
qgpgme = callPackage ../development/libraries/gpgme { } ;
2024-04-21 15:54:59 +00:00
qmlbox2d = callPackage ../development/libraries/qmlbox2d { } ;
2024-01-13 08:15:51 +00:00
packagekit-qt = callPackage ../tools/package-management/packagekit/qt.nix { } ;
2022-06-16 17:23:12 +00:00
2023-07-15 17:15:38 +00:00
qt6ct = callPackage ../tools/misc/qt6ct { } ;
2023-08-04 22:07:22 +00:00
qt6gtk2 = callPackage ../tools/misc/qt6gtk2 { } ;
2024-01-13 08:15:51 +00:00
qtforkawesome = callPackage ../development/libraries/qtforkawesome { } ;
2023-05-24 13:37:59 +00:00
qtkeychain = callPackage ../development/libraries/qtkeychain {
inherit ( pkgs . darwin . apple_sdk . frameworks ) CoreFoundation Security ;
} ;
2022-11-27 09:42:12 +00:00
qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { } ;
2024-04-21 15:54:59 +00:00
qtstyleplugin-kvantum = kdePackages . callPackage ../development/libraries/qtstyleplugin-kvantum { } ;
2023-07-15 17:15:38 +00:00
2024-01-13 08:15:51 +00:00
qtutilities = callPackage ../development/libraries/qtutilities { } ;
2022-06-16 17:23:12 +00:00
quazip = callPackage ../development/libraries/quazip { } ;
2022-09-09 14:08:57 +00:00
2023-10-09 19:29:22 +00:00
qscintilla = callPackage ../development/libraries/qscintilla { } ;
2024-02-07 01:22:34 +00:00
qwlroots = callPackage ../development/libraries/qwlroots {
wlroots = pkgs . wlroots_0_17 ;
} ;
2022-11-21 17:40:18 +00:00
qxlsx = callPackage ../development/libraries/qxlsx { } ;
2024-01-02 11:29:13 +00:00
qzxing = callPackage ../development/libraries/qzxing { } ;
2022-09-09 14:08:57 +00:00
poppler = callPackage ../development/libraries/poppler {
lcms = pkgs . lcms2 ;
qt6Support = true ;
suffix = " q t 6 " ;
} ;
2024-01-02 11:29:13 +00:00
2024-01-13 08:15:51 +00: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.
2024-09-19 14:19:46 +00:00
sddm = kdePackages . callPackage ../applications/display-managers/sddm { } ;
2024-01-13 08:15:51 +00:00
2024-04-21 15:54:59 +00:00
sierra-breeze-enhanced = kdePackages . callPackage ../data/themes/kwin-decorations/sierra-breeze-enhanced { } ;
2024-02-29 20:09:43 +00:00
signond = callPackage ../development/libraries/signond { } ;
2024-02-07 01:22:34 +00:00
waylib = callPackage ../development/libraries/waylib { } ;
wayqt = callPackage ../development/libraries/wayqt { } ;
2024-10-04 16:56:33 +00:00
xwaylandvideobridge = kdePackages . callPackage ../tools/wayland/xwaylandvideobridge { } ;
2024-01-02 11:29:13 +00:00
} // lib . optionalAttrs pkgs . config . allowAliases {
2024-04-21 15:54:59 +00:00
# Remove completely before 24.11
overrideScope' = builtins . throw " 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 \" . " ;
2024-01-02 11:29:13 +00:00
} ) ;
}