forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqt6-packages.nix
131 lines (92 loc) · 4.75 KB
/
qt6-packages.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# 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
, config
, __splicedPackages
, makeScopeWithSplicing'
, generateSplicesForMkScope
, stdenv
, pkgsHostTarget
, kdePackages
}:
let
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;
in
makeScopeWithSplicing' {
otherSplices = generateSplicesForMkScope "qt6Packages";
f = (self: let
inherit (self) callPackage;
noExtraAttrs = set: lib.attrsets.removeAttrs set [ "extend" "override" "overrideScope" "overrideDerivation" ];
in (noExtraAttrs qt6) // {
# LIBRARIES
accounts-qt = callPackage ../development/libraries/accounts-qt { };
appstream-qt = callPackage ../development/libraries/appstream/qt.nix { };
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 { };
fcitx5-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-qt.nix { };
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 { };
kdsoap = callPackage ../development/libraries/kdsoap { };
kcolorpicker = callPackage ../development/libraries/kcolorpicker { };
kimageannotator = callPackage ../development/libraries/kimageannotator { };
futuresql = callPackage ../development/libraries/futuresql { };
kquickimageedit = callPackage ../development/libraries/kquickimageedit { };
libqaccessibilityclient = callPackage ../development/libraries/libqaccessibilityclient { };
libqtpas = callPackage ../development/compilers/fpc/libqtpas.nix { };
libquotient = callPackage ../development/libraries/libquotient { };
mlt = pkgs.mlt.override {
qt = qt6;
};
maplibre-native-qt = callPackage ../development/libraries/maplibre-native-qt { };
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 { };
qmlbox2d = callPackage ../development/libraries/qmlbox2d { };
packagekit-qt = callPackage ../tools/package-management/packagekit/qt.nix { };
qt6ct = callPackage ../tools/misc/qt6ct { };
qt6gtk2 = callPackage ../tools/misc/qt6gtk2 { };
qtforkawesome = callPackage ../development/libraries/qtforkawesome { };
qtkeychain = callPackage ../development/libraries/qtkeychain {
inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
};
qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { };
qtstyleplugin-kvantum = kdePackages.callPackage ../development/libraries/qtstyleplugin-kvantum { };
qtutilities = callPackage ../development/libraries/qtutilities { };
qt-jdenticon = callPackage ../development/libraries/qt-jdenticon { };
quazip = callPackage ../development/libraries/quazip { };
qscintilla = callPackage ../development/libraries/qscintilla { };
qtspell = callPackage ../development/libraries/qtspell { };
qwlroots = callPackage ../development/libraries/qwlroots {
wlroots = pkgs.wlroots_0_18;
};
qxlsx = callPackage ../development/libraries/qxlsx { };
qzxing = callPackage ../development/libraries/qzxing { };
poppler = callPackage ../development/libraries/poppler {
lcms = pkgs.lcms2;
qt6Support = true;
suffix = "qt6";
};
# 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 = kdePackages.callPackage ../applications/display-managers/sddm {};
sierra-breeze-enhanced = kdePackages.callPackage ../data/themes/kwin-decorations/sierra-breeze-enhanced { };
signond = callPackage ../development/libraries/signond {};
waylib = callPackage ../development/libraries/waylib { };
wayqt = callPackage ../development/libraries/wayqt { };
xwaylandvideobridge = kdePackages.callPackage ../tools/wayland/xwaylandvideobridge { };
});
} // lib.optionalAttrs config.allowAliases {
# when removing, don't forget to remove a workaround in `pkgs/kde/default.nix`
stdenv = lib.warn "qt6Packages.stdenv is deprecated. Use stdenv instead." stdenv; # Added for 25.05
}