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