nixpkgs/pkgs/kde/default.nix

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

102 lines
3.1 KiB
Nix
Raw Permalink Normal View History

{
lib,
generateSplicesForMkScope,
makeScopeWithSplicing',
fetchurl,
libsForQt5,
qt6Packages,
cmark,
gpgme,
taglib,
wayland-protocols,
wayland,
zxing-cpp,
2024-09-20 05:54:48 +00:00
}:
let
allPackages =
self:
let
frameworks = import ./frameworks { inherit (self) callPackage; };
gear = import ./gear { inherit (self) callPackage; };
plasma = import ./plasma { inherit (self) callPackage; };
2024-09-20 05:54:48 +00:00
sets = [
"gear"
"frameworks"
"plasma"
];
2024-09-20 05:54:48 +00:00
loadUrls = set: lib.importJSON (./generated/sources + "/${set}.json");
allUrls = lib.attrsets.mergeAttrsList (map loadUrls sets);
2024-09-20 05:54:48 +00:00
sources = lib.mapAttrs (
_: v:
(fetchurl {
inherit (v) url hash;
})
// {
inherit (v) version;
}
) allUrls;
in
(
qt6Packages
// frameworks
// gear
// plasma
// {
inherit sources;
2024-09-20 05:54:48 +00:00
mkKdeDerivation = self.callPackage (import ./lib/mk-kde-derivation.nix self) { };
2024-09-20 05:54:48 +00:00
# THIRD PARTY
inherit
cmark
gpgme
taglib
wayland
wayland-protocols
zxing-cpp
;
2024-09-20 05:54:48 +00:00
# Alias to match metadata
kquickimageeditor = self.kquickimageedit;
2024-09-20 05:54:48 +00:00
# Alias because it's just data
plasma-wayland-protocols = libsForQt5.plasma-wayland-protocols;
2024-09-20 05:54:48 +00:00
selenium-webdriver-at-spi = null; # Used for integration tests that we don't run, stub
2024-09-20 05:54:48 +00:00
alpaka = self.callPackage ./misc/alpaka { };
calligra = self.callPackage ./misc/calligra { };
2024-09-20 05:54:48 +00:00
kdiagram = self.callPackage ./misc/kdiagram { };
kdevelop-pg-qt = self.callPackage ./misc/kdevelop-pg-qt { };
kdsoap-ws-discovery-client = self.callPackage ./misc/kdsoap-ws-discovery-client { };
kirigami-addons = self.callPackage ./misc/kirigami-addons { };
kio-extras-kf5 = self.callPackage ./misc/kio-extras-kf5 { };
kio-fuse = self.callPackage ./misc/kio-fuse { };
klevernotes = self.callPackage ./misc/klevernotes { };
ktextaddons = self.callPackage ./misc/ktextaddons { };
kunifiedpush = self.callPackage ./misc/kunifiedpush { };
kup = self.callPackage ./misc/kup { };
marknote = self.callPackage ./misc/marknote { };
mpvqt = self.callPackage ./misc/mpvqt { };
oxygen-icons = self.callPackage ./misc/oxygen-icons { };
phonon = self.callPackage ./misc/phonon { };
phonon-vlc = self.callPackage ./misc/phonon-vlc { };
polkit-qt-1 = self.callPackage ./misc/polkit-qt-1 { };
pulseaudio-qt = self.callPackage ./misc/pulseaudio-qt { };
2024-08-16 06:41:43 +00:00
2024-09-20 05:54:48 +00:00
applet-window-buttons6 = self.callPackage ./third-party/applet-window-buttons6 { };
karousel = self.callPackage ./third-party/karousel { };
koi = self.callPackage ./third-party/koi { };
2024-09-20 05:54:48 +00:00
krohnkite = self.callPackage ./third-party/krohnkite { };
kzones = self.callPackage ./third-party/kzones { };
}
);
in
2024-09-20 05:54:48 +00:00
makeScopeWithSplicing' {
otherSplices = generateSplicesForMkScope "kdePackages";
f = allPackages;
}