mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
138eebe549
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 .
49 lines
1.1 KiB
Nix
49 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";
|
|
};
|
|
})))
|