mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
39 lines
801 B
Nix
39 lines
801 B
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
|
|
}:
|
|
|
|
(lib.makeScope pkgs.newScope ( self:
|
|
|
|
let
|
|
libsForQt6 = self;
|
|
callPackage = self.callPackage;
|
|
kdeFrameworks = let
|
|
mkFrameworks = import ../development/libraries/kde-frameworks;
|
|
attrs = {
|
|
libsForQt5 = libsForQt6;
|
|
inherit (pkgs) lib fetchurl;
|
|
};
|
|
in (lib.makeOverridable mkFrameworks attrs);
|
|
in
|
|
|
|
(qt6 // {
|
|
# LIBRARIES
|
|
|
|
inherit (kdeFrameworks) kcoreaddons;
|
|
|
|
quazip = callPackage ../development/libraries/quazip { };
|
|
|
|
poppler = callPackage ../development/libraries/poppler {
|
|
lcms = pkgs.lcms2;
|
|
qt6Support = true;
|
|
suffix = "qt6";
|
|
};
|
|
})))
|