1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/pkgs/top-level/qt6-packages.nix

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

66 lines
2.1 KiB
Nix
Raw Normal View History

2021-10-16 13:22:24 +01: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 22:56:22 +00:00
, stdenv
, pkgsBuildHost
2021-10-16 13:22:24 +01: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.
# pkgsBuildHost == pkgs
qt6 = pkgsBuildHost.qt6;
2021-10-16 13:22:24 +01: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 22:56:22 +00:00
inherit stdenv;
# LIBRARIES
qt6ct = callPackage ../tools/misc/qt6ct { };
2023-07-26 18:51:40 +01:00
qt6gtk2 = callPackage ../tools/misc/qt6gtk2 { };
qtkeychain = callPackage ../development/libraries/qtkeychain {
inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
};
2022-11-16 03:42:19 +00:00
qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { };
qtstyleplugin-kvantum = callPackage ../development/libraries/qtstyleplugin-kvantum {
qt5Kvantum = pkgs.libsForQt5.qtstyleplugin-kvantum;
};
quazip = callPackage ../development/libraries/quazip { };
2022-08-26 19:53:02 +01:00
qscintilla = callPackage ../development/libraries/qscintilla { };
2022-11-04 16:16:02 +00:00
qxlsx = callPackage ../development/libraries/qxlsx { };
2022-08-26 19:53:02 +01:00
poppler = callPackage ../development/libraries/poppler {
lcms = pkgs.lcms2;
qt6Support = true;
suffix = "qt6";
};
} // 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;
});
}