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
|
|
|
|
, pkgs
|
|
|
|
, qt6
|
|
|
|
}:
|
|
|
|
|
|
|
|
(lib.makeScope pkgs.newScope ( self:
|
|
|
|
|
|
|
|
let
|
|
|
|
libsForQt6 = self;
|
|
|
|
callPackage = self.callPackage;
|
2022-09-17 14:26:56 +02:00
|
|
|
kdeFrameworks = let
|
|
|
|
mkFrameworks = import ../development/libraries/kde-frameworks;
|
|
|
|
attrs = {
|
|
|
|
libsForQt5 = libsForQt6;
|
|
|
|
inherit (pkgs) lib fetchurl;
|
|
|
|
};
|
|
|
|
in (lib.makeOverridable mkFrameworks attrs);
|
2021-10-16 14:22:24 +02:00
|
|
|
in
|
|
|
|
|
|
|
|
(qt6 // {
|
2022-05-28 10:27:03 +02:00
|
|
|
# LIBRARIES
|
|
|
|
|
2022-09-17 14:26:56 +02:00
|
|
|
inherit (kdeFrameworks) kcoreaddons;
|
|
|
|
|
2022-05-28 10:27:03 +02:00
|
|
|
quazip = callPackage ../development/libraries/quazip { };
|
2022-08-26 20:53:02 +02:00
|
|
|
|
|
|
|
poppler = callPackage ../development/libraries/poppler {
|
|
|
|
lcms = pkgs.lcms2;
|
|
|
|
qt6Support = true;
|
|
|
|
suffix = "qt6";
|
|
|
|
};
|
2021-10-16 14:22:24 +02:00
|
|
|
})))
|