nixpkgs-suyu/pkgs/top-level/qt6-packages.nix
Doron Behar 138eebe549 qscintilla: move to qt{5,6}Packages.nix
Since it is a somewhat common library, with support for multiple qt
versions, it is safer to put each version of it in libsForQt5 and
qt6Packages attribute sets. Also, it is cleaner to put the darwin
if-else inside the expression, in relation to https://github.com/NixOS/rfcs/pull/140 .
2023-09-21 11:45:35 +03:00

48 lines
1.1 KiB
Nix

# 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
, pkgs
, qt6
, stdenv
}:
(lib.makeScope pkgs.newScope ( self:
let
callPackage = self.callPackage;
in
(qt6 // {
inherit stdenv;
# LIBRARIES
qt6ct = callPackage ../tools/misc/qt6ct { };
qt6gtk2 = callPackage ../tools/misc/qt6gtk2 { };
qtkeychain = callPackage ../development/libraries/qtkeychain {
inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
};
qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { };
qtstyleplugin-kvantum = callPackage ../development/libraries/qtstyleplugin-kvantum {
qt5Kvantum = pkgs.libsForQt5.qtstyleplugin-kvantum;
};
quazip = callPackage ../development/libraries/quazip { };
qscintilla = callPackage ../development/libraries/qscintilla { };
qxlsx = callPackage ../development/libraries/qxlsx { };
poppler = callPackage ../development/libraries/poppler {
lcms = pkgs.lcms2;
qt6Support = true;
suffix = "qt6";
};
})))