nixpkgs/pkgs/top-level/qt6-packages.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

112 lines
3.9 KiB
Nix
Raw Normal View History

2021-10-16 14:22:24 +02: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
, __splicedPackages
, makeScopeWithSplicing'
, generateSplicesForMkScope
2023-01-23 23:56:22 +01:00
, stdenv
2023-11-24 15:35:29 +01:00
, pkgsHostTarget
2021-10-16 14:22:24 +02:00
}:
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.
2023-11-24 15:35:29 +01:00
# pkgsHostTarget == pkgs
qt6 = pkgsHostTarget.qt6;
2021-10-16 14:22:24 +02:00
in
makeScopeWithSplicing' {
otherSplices = generateSplicesForMkScope "qt6Packages";
f = (self: let
inherit (self) callPackage;
noExtraAttrs = set: lib.attrsets.removeAttrs set [ "extend" "override" "overrideScope" "overrideScope'" "overrideDerivation" ];
in (noExtraAttrs qt6) // {
2023-01-23 23:56:22 +01:00
inherit stdenv;
# LIBRARIES
2024-02-22 10:41:41 +01:00
accounts-qt = callPackage ../development/libraries/accounts-qt { };
2024-01-06 08:43:38 +01:00
appstream-qt = callPackage ../development/libraries/appstream/qt.nix { };
2024-02-29 04:28:22 +01:00
fcitx5-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-qt.nix { };
2024-01-08 22:11:12 +01:00
fcitx5-skk-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-skk.nix { enableQt = true; };
2023-11-11 15:40:32 +01:00
kdsoap = callPackage ../development/libraries/kdsoap { };
kcolorpicker = callPackage ../development/libraries/kcolorpicker { };
kimageannotator = callPackage ../development/libraries/kimageannotator { };
2023-11-12 09:17:56 +01:00
futuresql = callPackage ../development/libraries/futuresql { };
2023-11-12 09:18:05 +01:00
kquickimageedit = callPackage ../development/libraries/kquickimageedit { };
libqaccessibilityclient = callPackage ../development/libraries/libqaccessibilityclient { };
2023-11-23 20:41:22 +01:00
libquotient = callPackage ../development/libraries/libquotient { };
2023-11-23 13:56:23 +01:00
mlt = pkgs.mlt.override {
qt = qt6;
};
2023-11-12 09:17:56 +01:00
qca = pkgs.darwin.apple_sdk_11_0.callPackage ../development/libraries/qca {
inherit (qt6) qtbase qt5compat;
};
2023-11-27 09:00:31 +01:00
qcoro = callPackage ../development/libraries/qcoro { };
2023-11-23 20:20:30 +01:00
qgpgme = callPackage ../development/libraries/gpgme { };
2023-11-11 15:44:40 +01:00
packagekit-qt = callPackage ../tools/package-management/packagekit/qt.nix { };
qt6ct = callPackage ../tools/misc/qt6ct { };
2023-07-26 19:51:40 +02:00
qt6gtk2 = callPackage ../tools/misc/qt6gtk2 { };
2023-12-01 14:10:25 +01:00
qtforkawesome = callPackage ../development/libraries/qtforkawesome { };
qtkeychain = callPackage ../development/libraries/qtkeychain {
inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
};
2022-11-16 04:42:19 +01:00
qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { };
qtstyleplugin-kvantum = callPackage ../development/libraries/qtstyleplugin-kvantum {
qt5Kvantum = pkgs.libsForQt5.qtstyleplugin-kvantum;
};
2023-12-01 14:10:33 +01:00
qtutilities = callPackage ../development/libraries/qtutilities { };
quazip = callPackage ../development/libraries/quazip { };
2022-08-26 20:53:02 +02:00
qscintilla = callPackage ../development/libraries/qscintilla { };
2024-01-12 20:46:29 +01:00
qwlroots = callPackage ../development/libraries/qwlroots {
wlroots = pkgs.wlroots_0_17;
};
2022-11-04 17:16:02 +01:00
qxlsx = callPackage ../development/libraries/qxlsx { };
qzxing = callPackage ../development/libraries/qzxing { };
2022-08-26 20:53:02 +02:00
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 = callPackage ../applications/display-managers/sddm {};
2024-02-22 10:41:41 +01:00
signond = callPackage ../development/libraries/signond {};
2024-02-01 10:19:50 +01:00
waylib = callPackage ../development/libraries/waylib { };
2023-10-28 11:43:07 +02:00
wayqt = callPackage ../development/libraries/wayqt { };
} // 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 "qt6Packages now uses makeScopeWithSplicing which does not have \"overrideScope'\", use \"overrideScope\"." self.overrideScope;
});
}