2020-10-24 11:13:35 +00:00
2021-01-10 15:04:25 +00:00
# Qt packages set.
2020-10-24 11:13:35 +00:00
#
# 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-09 21:35:26 +00:00
, __splicedPackages
, makeScopeWithSplicing'
, generateSplicesForMkScope
2023-11-14 18:38:33 +00:00
, pkgsHostTarget
2020-10-24 11:13:35 +00:00
} :
let
2023-11-09 21:35:26 +00:00
pkgs = __splicedPackages ;
2023-11-13 22:53:19 +00:00
# qt5 set should not be pre-spliced to prevent spliced packages being a part of an unspliced set
# 'pkgsCross.aarch64-multiplatform.pkgsBuildTarget.targetPackages.libsForQt5.qtbase' should not have a `__spliced` but if qt5 is pre-spliced then it will have one.
2023-11-14 18:38:33 +00:00
# pkgsHostTarget == pkgs
qt5 = pkgsHostTarget . qt5 ;
2023-11-09 21:35:26 +00:00
in
makeScopeWithSplicing' {
otherSplices = generateSplicesForMkScope " l i b s F o r Q t 5 " ;
f = ( self : let
2020-10-24 11:13:35 +00:00
libsForQt5 = self ;
callPackage = self . callPackage ;
kdeFrameworks = let
mkFrameworks = import ../development/libraries/kde-frameworks ;
attrs = {
inherit libsForQt5 ;
inherit ( pkgs ) lib fetchurl ;
} ;
in ( lib . makeOverridable mkFrameworks attrs ) ;
plasma5 = let
mkPlasma5 = import ../desktops/plasma-5 ;
attrs = {
inherit libsForQt5 ;
2021-09-18 09:41:27 +00:00
inherit ( pkgs ) config lib fetchurl ;
2020-10-24 11:13:35 +00:00
inherit ( pkgs ) gsettings-desktop-schemas ;
} ;
in ( lib . makeOverridable mkPlasma5 attrs ) ;
2021-04-24 10:39:49 +00:00
kdeGear = let
mkGear = import ../applications/kde ;
2020-10-24 11:13:35 +00:00
attrs = {
inherit libsForQt5 ;
inherit ( pkgs ) lib fetchurl ;
} ;
2021-04-24 10:39:49 +00:00
in ( lib . makeOverridable mkGear attrs ) ;
2020-10-24 11:13:35 +00:00
2021-07-14 01:05:20 +00:00
plasmaMobileGear = let
mkPlamoGear = import ../applications/plasma-mobile ;
attrs = {
inherit libsForQt5 ;
inherit ( pkgs ) lib fetchurl ;
} ;
in ( lib . makeOverridable mkPlamoGear attrs ) ;
2022-05-17 01:11:06 +00:00
mauiPackages = let
mkMaui = import ../applications/maui ;
attrs = {
inherit libsForQt5 ;
inherit ( pkgs ) lib fetchurl ;
} ;
in ( lib . makeOverridable mkMaui attrs ) ;
2024-11-17 13:50:05 +00:00
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 D e r i v a t i o n " ] ;
2023-11-09 21:48:29 +00:00
in ( noExtraAttrs ( kdeFrameworks // plasmaMobileGear // plasma5 // plasma5 . thirdParty // kdeGear // mauiPackages // qt5 // {
2020-10-24 11:13:35 +00:00
2022-05-17 01:11:06 +00:00
inherit kdeFrameworks plasmaMobileGear plasma5 kdeGear mauiPackages qt5 ;
2020-10-24 11:13:35 +00:00
2021-05-07 14:02:06 +00:00
# Alias for backwards compatibility. Added 2021-05-07.
2021-05-11 10:44:42 +00:00
kdeApplications = kdeGear ;
2020-10-24 11:13:35 +00:00
### LIBRARIES
2023-12-02 17:40:53 +00:00
accounts-qml-module = callPackage ../development/libraries/accounts-qml-module { } ;
2020-10-24 11:13:35 +00:00
accounts-qt = callPackage ../development/libraries/accounts-qt { } ;
alkimia = callPackage ../development/libraries/alkimia { } ;
2023-10-06 23:16:11 +00:00
applet-window-appmenu = callPackage ../development/libraries/applet-window-appmenu { } ;
2021-05-10 09:42:42 +00:00
applet-window-buttons = callPackage ../development/libraries/applet-window-buttons { } ;
2020-10-24 11:13:35 +00:00
appstream-qt = callPackage ../development/libraries/appstream/qt.nix { } ;
dxflib = callPackage ../development/libraries/dxflib { } ;
drumstick = callPackage ../development/libraries/drumstick { } ;
2021-01-11 08:15:22 +00:00
fcitx5-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-qt.nix { } ;
2024-01-07 06:00:43 +00:00
fcitx5-chinese-addons = callPackage ../tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix { } ;
2024-03-01 16:10:27 +00:00
fcitx5-configtool = callPackage ../tools/inputmethods/fcitx5/fcitx5-configtool.nix { } ;
2024-01-08 21:11:12 +00:00
fcitx5-skk-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-skk.nix { enableQt = true ; } ;
2024-01-08 21:08:12 +00:00
fcitx5-unikey = callPackage ../tools/inputmethods/fcitx5/fcitx5-unikey.nix { } ;
2024-03-01 16:10:54 +00:00
fcitx5-with-addons = callPackage ../tools/inputmethods/fcitx5/with-addons.nix { } ;
2023-11-12 08:17:56 +00:00
futuresql = callPackage ../development/libraries/futuresql { } ;
2020-10-24 11:13:35 +00:00
qgpgme = callPackage ../development/libraries/gpgme { } ;
grantlee = callPackage ../development/libraries/grantlee/5 { } ;
qtcurve = callPackage ../data/themes/qtcurve { } ;
herqq = callPackage ../development/libraries/herqq { } ;
kdb = callPackage ../development/libraries/kdb { } ;
kde2-decoration = callPackage ../data/themes/kde2 { } ;
2021-07-12 10:45:15 +00:00
kcolorpicker = callPackage ../development/libraries/kcolorpicker { } ;
2020-10-24 11:13:35 +00:00
kdiagram = callPackage ../development/libraries/kdiagram { } ;
kdsoap = callPackage ../development/libraries/kdsoap { } ;
kf5gpgmepp = callPackage ../development/libraries/kf5gpgmepp { } ;
2021-06-01 02:12:14 +00:00
kirigami-addons = libsForQt5 . callPackage ../development/libraries/kirigami-addons { } ;
2021-07-12 10:45:40 +00:00
kimageannotator = callPackage ../development/libraries/kimageannotator { } ;
2020-10-24 11:13:35 +00:00
kproperty = callPackage ../development/libraries/kproperty { } ;
kpeoplevcard = callPackage ../development/libraries/kpeoplevcard { } ;
kreport = callPackage ../development/libraries/kreport { } ;
kquickimageedit = callPackage ../development/libraries/kquickimageedit { } ;
2023-01-20 12:41:00 +00:00
kuserfeedback = callPackage ../development/libraries/kuserfeedback { } ;
2021-10-06 19:34:08 +00:00
kweathercore = libsForQt5 . callPackage ../development/libraries/kweathercore { } ;
2020-10-24 11:13:35 +00:00
ldutils = callPackage ../development/libraries/ldutils { } ;
libcommuni = callPackage ../development/libraries/libcommuni { } ;
libdbusmenu = callPackage ../development/libraries/libdbusmenu-qt/qt-5.5.nix { } ;
liblastfm = callPackage ../development/libraries/liblastfm { } ;
2023-11-30 14:47:33 +00:00
libopenshot = callPackage ../development/libraries/libopenshot {
2023-11-10 03:41:50 +00:00
stdenv = if pkgs . stdenv . hostPlatform . isDarwin then pkgs . overrideSDK pkgs . stdenv " 1 1 . 0 " else pkgs . stdenv ;
2024-07-10 23:19:52 +00:00
python3 = pkgs . python311 ;
2023-11-10 03:41:50 +00:00
} ;
2020-10-24 11:13:35 +00:00
packagekit-qt = callPackage ../tools/package-management/packagekit/qt.nix { } ;
2023-11-30 14:45:36 +00:00
libopenshot-audio = callPackage ../development/libraries/libopenshot-audio {
2023-04-25 21:02:23 +00:00
inherit ( pkgs . darwin . apple_sdk . frameworks ) Accelerate AGL Cocoa Foundation ;
2020-10-24 11:13:35 +00:00
} ;
libqglviewer = callPackage ../development/libraries/libqglviewer {
inherit ( pkgs . darwin . apple_sdk . frameworks ) AGL ;
} ;
2021-03-30 21:42:16 +00:00
libqofono = callPackage ../development/libraries/libqofono { } ;
2023-11-23 19:41:22 +00:00
libquotient = callPackage ../development/libraries/libquotient { } ;
2021-11-02 21:09:45 +00:00
libqaccessibilityclient = callPackage ../development/libraries/libqaccessibilityclient { } ;
2021-03-20 18:30:19 +00:00
mapbox-gl-native = libsForQt5 . callPackage ../development/libraries/mapbox-gl-native { } ;
2021-03-21 10:14:52 +00:00
mapbox-gl-qml = libsForQt5 . callPackage ../development/libraries/mapbox-gl-qml { } ;
2022-04-22 05:27:06 +00:00
maplibre-gl-native = callPackage ../development/libraries/maplibre-gl-native { } ;
2024-10-27 02:53:24 +00:00
maplibre-native-qt = callPackage ../development/libraries/maplibre-native-qt { } ;
2022-12-15 11:50:45 +00:00
maui-core = libsForQt5 . callPackage ../development/libraries/maui-core { } ;
2023-06-27 13:33:46 +00:00
mlt = pkgs . mlt . override {
2023-11-23 12:56:23 +00:00
qt = qt5 ;
2023-06-27 13:33:46 +00:00
} ;
2020-10-24 11:13:35 +00:00
phonon = callPackage ../development/libraries/phonon { } ;
phonon-backend-gstreamer = callPackage ../development/libraries/phonon/backends/gstreamer.nix { } ;
phonon-backend-vlc = callPackage ../development/libraries/phonon/backends/vlc.nix { } ;
plasma-wayland-protocols = callPackage ../development/libraries/plasma-wayland-protocols { } ;
2021-03-01 05:03:41 +00:00
polkit-qt = callPackage ../development/libraries/polkit-qt-1 { } ;
2020-10-24 11:13:35 +00:00
poppler = callPackage ../development/libraries/poppler {
lcms = pkgs . lcms2 ;
qt5Support = true ;
suffix = " q t 5 " ;
} ;
pulseaudio-qt = callPackage ../development/libraries/pulseaudio-qt { } ;
2023-11-11 14:41:38 +00:00
qca = callPackage ../development/libraries/qca {
2023-10-28 00:51:23 +00:00
stdenv = if pkgs . stdenv . hostPlatform . isDarwin then pkgs . overrideSDK pkgs . stdenv " 1 1 . 0 " else pkgs . stdenv ;
2023-02-17 14:22:40 +00:00
inherit ( libsForQt5 ) qtbase ;
} ;
2023-11-11 14:41:38 +00:00
qca-qt5 = self . qca ;
2020-10-24 11:13:35 +00:00
2021-10-16 18:09:20 +00:00
qcoro = callPackage ../development/libraries/qcoro { } ;
2020-10-24 11:13:35 +00:00
qcsxcad = callPackage ../development/libraries/science/electronics/qcsxcad { } ;
2022-05-26 15:02:55 +00:00
qjson = callPackage ../development/libraries/qjson { } ;
2020-10-24 11:13:35 +00:00
qmltermwidget = callPackage ../development/libraries/qmltermwidget {
inherit ( pkgs . darwin . apple_sdk . libs ) utmp ;
} ;
qmlbox2d = callPackage ../development/libraries/qmlbox2d { } ;
qoauth = callPackage ../development/libraries/qoauth { } ;
2021-12-27 14:03:07 +00:00
qt5ct = callPackage ../tools/misc/qt5ct { } ;
2022-08-22 02:52:43 +00:00
qtdbusextended = callPackage ../development/libraries/qtdbusextended { } ;
2021-05-06 16:39:27 +00:00
qtfeedback = callPackage ../development/libraries/qtfeedback { } ;
2022-05-26 13:55:44 +00:00
qtforkawesome = callPackage ../development/libraries/qtforkawesome { } ;
2020-10-24 11:13:35 +00:00
qtutilities = callPackage ../development/libraries/qtutilities { } ;
qtinstaller = callPackage ../development/libraries/qtinstaller { } ;
qtkeychain = callPackage ../development/libraries/qtkeychain {
2023-10-28 00:51:23 +00:00
stdenv = if pkgs . stdenv . hostPlatform . isDarwin then pkgs . overrideSDK pkgs . stdenv " 1 1 . 0 " else pkgs . stdenv ;
inherit ( pkgs . darwin . apple_sdk . frameworks ) CoreFoundation Security ;
2020-10-24 11:13:35 +00:00
} ;
2022-05-10 05:34:18 +00:00
qtmpris = callPackage ../development/libraries/qtmpris { } ;
2020-10-24 11:13:35 +00:00
qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { } ;
qtstyleplugins = callPackage ../development/libraries/qtstyleplugins { } ;
2024-03-25 11:09:30 +00:00
qtstyleplugin-kvantum = callPackage ../development/libraries/qtstyleplugin-kvantum {
qt6Kvantum = pkgs . qt6Packages . qtstyleplugin-kvantum ;
} ;
2020-10-24 11:13:35 +00:00
quazip = callPackage ../development/libraries/quazip { } ;
2024-02-05 11:27:34 +00:00
quickflux = callPackage ../development/libraries/quickflux { } ;
2023-09-20 16:08:53 +00:00
qscintilla = callPackage ../development/libraries/qscintilla { } ;
2022-03-23 20:35:55 +00:00
qwt = callPackage ../development/libraries/qwt/default.nix { } ;
2020-10-24 11:13:35 +00:00
2022-03-22 22:58:48 +00:00
qwt6_1 = callPackage ../development/libraries/qwt/6_1.nix { } ;
2022-10-02 05:40:06 +00:00
qxlsx = callPackage ../development/libraries/qxlsx { } ;
2023-10-13 13:17:39 +00:00
qzxing = callPackage ../development/libraries/qzxing { } ;
2024-02-02 11:27:33 +00:00
rlottie-qml = callPackage ../development/libraries/rlottie-qml { } ;
2024-04-01 15:36:44 +00:00
sierra-breeze-enhanced = callPackage ../data/themes/kwin-decorations/sierra-breeze-enhanced { useQt5 = true ; } ;
2020-10-24 11:13:35 +00:00
soqt = callPackage ../development/libraries/soqt { } ;
telepathy = callPackage ../development/libraries/telepathy/qt { } ;
qtwebkit-plugins = callPackage ../development/libraries/qtwebkit-plugins { } ;
# 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 { } ;
signond = callPackage ../development/libraries/signond { } ;
soundkonverter = callPackage ../applications/audio/soundkonverter { } ;
2022-07-20 14:35:35 +00:00
xp-pen-deco-01-v2-driver = callPackage ../os-specific/linux/xp-pen-drivers/deco-01-v2 { } ;
2022-07-23 10:21:10 +00:00
xp-pen-g430-driver = callPackage ../os-specific/linux/xp-pen-drivers/g430 { } ;
2024-09-27 05:16:34 +00:00
xwaylandvideobridge = callPackage ../tools/wayland/xwaylandvideobridge { } ;
2022-03-04 12:43:13 +00:00
yuview = callPackage ../applications/video/yuview { } ;
2024-11-17 13:50:05 +00:00
} ) ) ) ;
2023-11-09 21:35:26 +00:00
}