kdePackages: nixfmt

This commit is contained in:
K900 2024-09-20 08:54:48 +03:00
parent 79454ee9aa
commit 5b3bd93bab
396 changed files with 1845 additions and 1241 deletions

View File

@ -11,78 +11,89 @@
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;};
}:
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"];
sets = [
"gear"
"frameworks"
"plasma"
];
loadUrls = set: lib.importJSON (./generated/sources + "/${set}.json");
allUrls = lib.attrsets.mergeAttrsList (map loadUrls sets);
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;
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) {};
mkKdeDerivation = self.callPackage (import ./lib/mk-kde-derivation.nix self) { };
# THIRD PARTY
inherit
cmark
gpgme
taglib
wayland
wayland-protocols
zxing-cpp
;
# THIRD PARTY
inherit
cmark
gpgme
taglib
wayland
wayland-protocols
zxing-cpp
;
# Alias to match metadata
kquickimageeditor = self.kquickimageedit;
# Alias to match metadata
kquickimageeditor = self.kquickimageedit;
# Alias because it's just data
plasma-wayland-protocols = libsForQt5.plasma-wayland-protocols;
# 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
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 {};
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 {};
alpaka = self.callPackage ./misc/alpaka { };
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 { };
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 {};
}
);
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 { };
}
);
in
makeScopeWithSplicing' {
otherSplices = generateSplicesForMkScope "kdePackages";
f = allPackages;
}
makeScopeWithSplicing' {
otherSplices = generateSplicesForMkScope "kdePackages";
f = allPackages;
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "attica";
}

View File

@ -11,5 +11,8 @@ mkKdeDerivation {
substituteInPlace src/file/kde-baloo.service.in --replace-fail @KDE_INSTALL_FULL_BINDIR@/kde-systemd-start-condition /run/current-system/sw/bin/kde-systemd-start-condition
'';
extraBuildInputs = [qtdeclarative lmdb];
extraBuildInputs = [
qtdeclarative
lmdb
];
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "bluez-qt";
extraBuildInputs = [qtdeclarative];
extraBuildInputs = [ qtdeclarative ];
}

View File

@ -7,7 +7,7 @@ mkKdeDerivation {
pname = "breeze-icons";
extraNativeBuildInputs = [
(python3.withPackages (ps: [ps.lxml]))
(python3.withPackages (ps: [ ps.lxml ]))
libxml2
];

View File

@ -1,74 +1,75 @@
{callPackage}: {
attica = callPackage ./attica {};
baloo = callPackage ./baloo {};
bluez-qt = callPackage ./bluez-qt {};
breeze-icons = callPackage ./breeze-icons {};
extra-cmake-modules = callPackage ./extra-cmake-modules {};
frameworkintegration = callPackage ./frameworkintegration {};
kapidox = callPackage ./kapidox {};
karchive = callPackage ./karchive {};
kauth = callPackage ./kauth {};
kbookmarks = callPackage ./kbookmarks {};
kcalendarcore = callPackage ./kcalendarcore {};
kcmutils = callPackage ./kcmutils {};
kcodecs = callPackage ./kcodecs {};
kcolorscheme = callPackage ./kcolorscheme {};
kcompletion = callPackage ./kcompletion {};
kconfig = callPackage ./kconfig {};
kconfigwidgets = callPackage ./kconfigwidgets {};
kcontacts = callPackage ./kcontacts {};
kcoreaddons = callPackage ./kcoreaddons {};
kcrash = callPackage ./kcrash {};
kdav = callPackage ./kdav {};
kdbusaddons = callPackage ./kdbusaddons {};
kdeclarative = callPackage ./kdeclarative {};
kded = callPackage ./kded {};
kdesu = callPackage ./kdesu {};
kdnssd = callPackage ./kdnssd {};
kdoctools = callPackage ./kdoctools {};
kfilemetadata = callPackage ./kfilemetadata {};
kglobalaccel = callPackage ./kglobalaccel {};
kguiaddons = callPackage ./kguiaddons {};
kholidays = callPackage ./kholidays {};
ki18n = callPackage ./ki18n {};
kiconthemes = callPackage ./kiconthemes {};
kidletime = callPackage ./kidletime {};
kimageformats = callPackage ./kimageformats {};
kio = callPackage ./kio {};
kirigami = callPackage ./kirigami {};
kitemmodels = callPackage ./kitemmodels {};
kitemviews = callPackage ./kitemviews {};
kjobwidgets = callPackage ./kjobwidgets {};
knewstuff = callPackage ./knewstuff {};
knotifications = callPackage ./knotifications {};
knotifyconfig = callPackage ./knotifyconfig {};
kpackage = callPackage ./kpackage {};
kparts = callPackage ./kparts {};
kpeople = callPackage ./kpeople {};
kplotting = callPackage ./kplotting {};
kpty = callPackage ./kpty {};
kquickcharts = callPackage ./kquickcharts {};
krunner = callPackage ./krunner {};
kservice = callPackage ./kservice {};
kstatusnotifieritem = callPackage ./kstatusnotifieritem {};
ksvg = callPackage ./ksvg {};
ktexteditor = callPackage ./ktexteditor {};
ktexttemplate = callPackage ./ktexttemplate {};
ktextwidgets = callPackage ./ktextwidgets {};
kunitconversion = callPackage ./kunitconversion {};
kuserfeedback = callPackage ./kuserfeedback {};
kwallet = callPackage ./kwallet {};
kwidgetsaddons = callPackage ./kwidgetsaddons {};
kwindowsystem = callPackage ./kwindowsystem {};
kxmlgui = callPackage ./kxmlgui {};
modemmanager-qt = callPackage ./modemmanager-qt {};
networkmanager-qt = callPackage ./networkmanager-qt {};
prison = callPackage ./prison {};
purpose = callPackage ./purpose {};
qqc2-desktop-style = callPackage ./qqc2-desktop-style {};
solid = callPackage ./solid {};
sonnet = callPackage ./sonnet {};
syndication = callPackage ./syndication {};
syntax-highlighting = callPackage ./syntax-highlighting {};
threadweaver = callPackage ./threadweaver {};
{ callPackage }:
{
attica = callPackage ./attica { };
baloo = callPackage ./baloo { };
bluez-qt = callPackage ./bluez-qt { };
breeze-icons = callPackage ./breeze-icons { };
extra-cmake-modules = callPackage ./extra-cmake-modules { };
frameworkintegration = callPackage ./frameworkintegration { };
kapidox = callPackage ./kapidox { };
karchive = callPackage ./karchive { };
kauth = callPackage ./kauth { };
kbookmarks = callPackage ./kbookmarks { };
kcalendarcore = callPackage ./kcalendarcore { };
kcmutils = callPackage ./kcmutils { };
kcodecs = callPackage ./kcodecs { };
kcolorscheme = callPackage ./kcolorscheme { };
kcompletion = callPackage ./kcompletion { };
kconfig = callPackage ./kconfig { };
kconfigwidgets = callPackage ./kconfigwidgets { };
kcontacts = callPackage ./kcontacts { };
kcoreaddons = callPackage ./kcoreaddons { };
kcrash = callPackage ./kcrash { };
kdav = callPackage ./kdav { };
kdbusaddons = callPackage ./kdbusaddons { };
kdeclarative = callPackage ./kdeclarative { };
kded = callPackage ./kded { };
kdesu = callPackage ./kdesu { };
kdnssd = callPackage ./kdnssd { };
kdoctools = callPackage ./kdoctools { };
kfilemetadata = callPackage ./kfilemetadata { };
kglobalaccel = callPackage ./kglobalaccel { };
kguiaddons = callPackage ./kguiaddons { };
kholidays = callPackage ./kholidays { };
ki18n = callPackage ./ki18n { };
kiconthemes = callPackage ./kiconthemes { };
kidletime = callPackage ./kidletime { };
kimageformats = callPackage ./kimageformats { };
kio = callPackage ./kio { };
kirigami = callPackage ./kirigami { };
kitemmodels = callPackage ./kitemmodels { };
kitemviews = callPackage ./kitemviews { };
kjobwidgets = callPackage ./kjobwidgets { };
knewstuff = callPackage ./knewstuff { };
knotifications = callPackage ./knotifications { };
knotifyconfig = callPackage ./knotifyconfig { };
kpackage = callPackage ./kpackage { };
kparts = callPackage ./kparts { };
kpeople = callPackage ./kpeople { };
kplotting = callPackage ./kplotting { };
kpty = callPackage ./kpty { };
kquickcharts = callPackage ./kquickcharts { };
krunner = callPackage ./krunner { };
kservice = callPackage ./kservice { };
kstatusnotifieritem = callPackage ./kstatusnotifieritem { };
ksvg = callPackage ./ksvg { };
ktexteditor = callPackage ./ktexteditor { };
ktexttemplate = callPackage ./ktexttemplate { };
ktextwidgets = callPackage ./ktextwidgets { };
kunitconversion = callPackage ./kunitconversion { };
kuserfeedback = callPackage ./kuserfeedback { };
kwallet = callPackage ./kwallet { };
kwidgetsaddons = callPackage ./kwidgetsaddons { };
kwindowsystem = callPackage ./kwindowsystem { };
kxmlgui = callPackage ./kxmlgui { };
modemmanager-qt = callPackage ./modemmanager-qt { };
networkmanager-qt = callPackage ./networkmanager-qt { };
prison = callPackage ./prison { };
purpose = callPackage ./purpose { };
qqc2-desktop-style = callPackage ./qqc2-desktop-style { };
solid = callPackage ./solid { };
sonnet = callPackage ./sonnet { };
syndication = callPackage ./syndication { };
syntax-highlighting = callPackage ./syntax-highlighting { };
threadweaver = callPackage ./threadweaver { };
}

View File

@ -1,5 +1,6 @@
{ mkKdeDerivation
, python3
{
mkKdeDerivation,
python3,
}:
mkKdeDerivation {
pname = "extra-cmake-modules";

View File

@ -6,6 +6,6 @@
mkKdeDerivation {
pname = "frameworkintegration";
extraNativeBuildInputs = [pkg-config];
extraBuildInputs = [packagekit-qt];
extraNativeBuildInputs = [ pkg-config ];
extraBuildInputs = [ packagekit-qt ];
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "kapidox";
}

View File

@ -7,6 +7,9 @@
mkKdeDerivation {
pname = "karchive";
extraNativeBuildInputs = [qttools pkg-config];
extraBuildInputs = [xz];
extraNativeBuildInputs = [
qttools
pkg-config
];
extraBuildInputs = [ xz ];
}

View File

@ -7,7 +7,7 @@ mkKdeDerivation {
# Late resolve paths so things end up in their own prefix
# FIXME(later): discuss with upstream
patches = [./fix-paths.patch];
patches = [ ./fix-paths.patch ];
extraNativeBuildInputs = [qttools];
extraNativeBuildInputs = [ qttools ];
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kbookmarks";
extraNativeBuildInputs = [qttools];
extraNativeBuildInputs = [ qttools ];
}

View File

@ -6,5 +6,8 @@
mkKdeDerivation {
pname = "kcalendarcore";
extraBuildInputs = [qtdeclarative libical];
extraBuildInputs = [
qtdeclarative
libical
];
}

View File

@ -5,6 +5,6 @@
mkKdeDerivation {
pname = "kcmutils";
extraPropagatedBuildInputs = [qtdeclarative];
extraPropagatedBuildInputs = [ qtdeclarative ];
meta.mainProgram = "kcmshell6";
}

View File

@ -6,5 +6,8 @@
mkKdeDerivation {
pname = "kcodecs";
extraNativeBuildInputs = [qttools gperf];
extraNativeBuildInputs = [
qttools
gperf
];
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "kcolorscheme";
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kcompletion";
extraNativeBuildInputs = [qttools];
extraNativeBuildInputs = [ qttools ];
}

View File

@ -6,6 +6,6 @@
mkKdeDerivation {
pname = "kconfig";
extraNativeBuildInputs = [qttools];
extraPropagatedBuildInputs = [qtdeclarative];
extraNativeBuildInputs = [ qttools ];
extraPropagatedBuildInputs = [ qtdeclarative ];
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kconfigwidgets";
extraBuildInputs = [qttools];
extraBuildInputs = [ qttools ];
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "kcontacts";
}

View File

@ -7,6 +7,9 @@
mkKdeDerivation {
pname = "kcoreaddons";
extraNativeBuildInputs = [qttools shared-mime-info];
extraBuildInputs = [qtdeclarative];
extraNativeBuildInputs = [
qttools
shared-mime-info
];
extraBuildInputs = [ qtdeclarative ];
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "kcrash";
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "kdav";
}

View File

@ -5,6 +5,6 @@
mkKdeDerivation {
pname = "kdbusaddons";
extraNativeBuildInputs = [qttools];
extraNativeBuildInputs = [ qttools ];
meta.mainProgram = "kquitapp6";
}

View File

@ -6,6 +6,6 @@
mkKdeDerivation {
pname = "kdeclarative";
extraNativeBuildInputs = [spirv-tools];
extraBuildInputs = [qtdeclarative];
extraNativeBuildInputs = [ spirv-tools ];
extraBuildInputs = [ qtdeclarative ];
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "kded";
meta.mainProgram = "kded6";

View File

@ -1,7 +1,7 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "kdesu";
# Look for NixOS SUID wrapper first
patches = [./kdesu-search-for-wrapped-daemon-first.patch];
patches = [ ./kdesu-search-for-wrapped-daemon-first.patch ];
}

View File

@ -6,6 +6,6 @@
mkKdeDerivation {
pname = "kdnssd";
extraNativeBuildInputs = [qttools];
extraBuildInputs = [avahi];
extraNativeBuildInputs = [ qttools ];
extraBuildInputs = [ avahi ];
}

View File

@ -10,7 +10,17 @@ mkKdeDerivation {
pname = "kdoctools";
# Perl could be used both at build time and at runtime.
extraNativeBuildInputs = [perl perlPackages.URI libxml2];
extraBuildInputs = [docbook_xml_dtd_45 docbook-xsl-nons];
extraPropagatedBuildInputs = [perl perlPackages.URI];
extraNativeBuildInputs = [
perl
perlPackages.URI
libxml2
];
extraBuildInputs = [
docbook_xml_dtd_45
docbook-xsl-nons
];
extraPropagatedBuildInputs = [
perl
perlPackages.URI
];
}

View File

@ -14,8 +14,16 @@ mkKdeDerivation {
# Fix installing cmake files into wrong directory
# FIXME(later): upstream
patches = [./cmake-install-paths.patch];
patches = [ ./cmake-install-paths.patch ];
extraNativeBuildInputs = [pkg-config];
extraBuildInputs = [attr ebook_tools exiv2 ffmpeg kconfig kdegraphics-mobipocket libappimage];
extraNativeBuildInputs = [ pkg-config ];
extraBuildInputs = [
attr
ebook_tools
exiv2
ffmpeg
kconfig
kdegraphics-mobipocket
libappimage
];
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kglobalaccel";
extraNativeBuildInputs = [qttools];
extraNativeBuildInputs = [ qttools ];
}

View File

@ -6,7 +6,7 @@
mkKdeDerivation {
pname = "kguiaddons";
extraNativeBuildInputs = [pkg-config];
extraBuildInputs = [qtwayland];
extraNativeBuildInputs = [ pkg-config ];
extraBuildInputs = [ qtwayland ];
meta.mainProgram = "kde-geo-uri-handler";
}

View File

@ -6,6 +6,6 @@
mkKdeDerivation {
pname = "kholidays";
extraNativeBuildInputs = [qttools];
extraBuildInputs = [qtdeclarative];
extraNativeBuildInputs = [ qttools ];
extraBuildInputs = [ qtdeclarative ];
}

View File

@ -7,7 +7,7 @@
mkKdeDerivation {
pname = "ki18n";
extraNativeBuildInputs = [python3];
propagatedNativeBuildInputs = [gettext];
extraBuildInputs = [qtdeclarative];
extraNativeBuildInputs = [ python3 ];
propagatedNativeBuildInputs = [ gettext ];
extraBuildInputs = [ qtdeclarative ];
}

View File

@ -7,6 +7,9 @@
mkKdeDerivation {
pname = "kidletime";
extraNativeBuildInputs = [pkg-config];
extraBuildInputs = [qtwayland xorg.libXScrnSaver];
extraNativeBuildInputs = [ pkg-config ];
extraBuildInputs = [
qtwayland
xorg.libXScrnSaver
];
}

View File

@ -10,7 +10,13 @@
mkKdeDerivation {
pname = "kimageformats";
extraCmakeFlags = ["-DKIMAGEFORMATS_HEIF=1"];
extraNativeBuildInputs = [pkg-config];
extraBuildInputs = [libheif libjxl libavif libraw openexr_3];
extraCmakeFlags = [ "-DKIMAGEFORMATS_HEIF=1" ];
extraNativeBuildInputs = [ pkg-config ];
extraBuildInputs = [
libheif
libjxl
libavif
libraw
openexr_3
];
}

View File

@ -13,5 +13,10 @@ mkKdeDerivation {
./0001-Remove-impure-smbd-search-path.patch
];
extraBuildInputs = [qt5compat qttools acl attr];
extraBuildInputs = [
qt5compat
qttools
acl
attr
];
}

View File

@ -17,18 +17,27 @@ let
unwrapped = mkKdeDerivation {
pname = "kirigami";
extraNativeBuildInputs = [qtsvg qttools];
extraBuildInputs = [qtdeclarative];
extraPropagatedBuildInputs = [qt5compat];
extraNativeBuildInputs = [
qtsvg
qttools
];
extraBuildInputs = [ qtdeclarative ];
extraPropagatedBuildInputs = [ qt5compat ];
};
in stdenv.mkDerivation {
in
stdenv.mkDerivation {
pname = "kirigami-wrapped";
inherit (unwrapped) version;
propagatedBuildInputs = [ unwrapped qqc2-desktop-style ];
propagatedBuildInputs = [
unwrapped
qqc2-desktop-style
];
dontUnpack = true;
dontWrapQtApps = true;
passthru = { inherit unwrapped; };
passthru = {
inherit unwrapped;
};
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kitemmodels";
extraBuildInputs = [qtdeclarative];
extraBuildInputs = [ qtdeclarative ];
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kitemviews";
extraNativeBuildInputs = [qttools];
extraNativeBuildInputs = [ qttools ];
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kjobwidgets";
extraNativeBuildInputs = [qttools];
extraNativeBuildInputs = [ qttools ];
}

View File

@ -9,9 +9,12 @@ mkKdeDerivation {
# Late resolve knsrcdir so other things install to their own prefix
# FIXME(later): upstream
patches = [./delay-resolving-knsrcdir.patch];
patches = [ ./delay-resolving-knsrcdir.patch ];
extraBuildInputs = [qtdeclarative qttools];
extraPropagatedBuildInputs = [kcmutils];
extraBuildInputs = [
qtdeclarative
qttools
];
extraPropagatedBuildInputs = [ kcmutils ];
meta.mainProgram = "knewstuff-dialog6";
}

View File

@ -7,6 +7,9 @@
mkKdeDerivation {
pname = "knotifications";
extraNativeBuildInputs = [qttools];
extraBuildInputs = [qtdeclarative libcanberra];
extraNativeBuildInputs = [ qttools ];
extraBuildInputs = [
qtdeclarative
libcanberra
];
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "knotifyconfig";
extraBuildInputs = [libcanberra];
extraBuildInputs = [ libcanberra ];
}

View File

@ -1,9 +1,9 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "kpackage";
# Follow symlinks when resolving packages
# FIXME(later): upstream
patches = [./follow-symlinks.patch];
patches = [ ./follow-symlinks.patch ];
meta.mainProgram = "kpackagetool6";
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "kparts";
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kpeople";
extraBuildInputs = [qtdeclarative];
extraBuildInputs = [ qtdeclarative ];
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kplotting";
extraBuildInputs = [qttools];
extraBuildInputs = [ qttools ];
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "kpty";
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kquickcharts";
extraBuildInputs = [qtdeclarative];
extraBuildInputs = [ qtdeclarative ];
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "krunner";
extraBuildInputs = [plasma-activities];
extraBuildInputs = [ plasma-activities ];
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "kservice";

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kstatusnotifieritem";
extraNativeBuildInputs = [qttools];
extraNativeBuildInputs = [ qttools ];
}

View File

@ -6,5 +6,8 @@
mkKdeDerivation {
pname = "ksvg";
extraBuildInputs = [qtdeclarative qtsvg];
extraBuildInputs = [
qtdeclarative
qtsvg
];
}

View File

@ -7,5 +7,9 @@
mkKdeDerivation {
pname = "ktexteditor";
extraBuildInputs = [qtdeclarative qtspeech editorconfig-core-c];
extraBuildInputs = [
qtdeclarative
qtspeech
editorconfig-core-c
];
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "ktexttemplate";
extraBuildInputs = [qtdeclarative];
extraBuildInputs = [ qtdeclarative ];
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "kunitconversion";
}

View File

@ -7,6 +7,12 @@ mkKdeDerivation {
pname = "kuserfeedback";
# Disable server-side stuff we don't care about
extraCmakeFlags = ["-DENABLE_CONSOLE=0" "-DENABLE_CLI=0"];
extraNativeBuildInputs = [qttools qtsvg];
extraCmakeFlags = [
"-DENABLE_CONSOLE=0"
"-DENABLE_CLI=0"
];
extraNativeBuildInputs = [
qttools
qtsvg
];
}

View File

@ -7,5 +7,9 @@
mkKdeDerivation {
pname = "kwallet";
extraBuildInputs = [libgcrypt kcrash kdoctools];
extraBuildInputs = [
libgcrypt
kcrash
kdoctools
];
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kwidgetsaddons";
extraNativeBuildInputs = [qttools];
extraNativeBuildInputs = [ qttools ];
}

View File

@ -8,6 +8,12 @@
mkKdeDerivation {
pname = "kwindowsystem";
extraNativeBuildInputs = [qttools pkg-config];
extraBuildInputs = [qtdeclarative qtwayland];
extraNativeBuildInputs = [
qttools
pkg-config
];
extraBuildInputs = [
qtdeclarative
qtwayland
];
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "kxmlgui";
extraBuildInputs = [qttools];
extraBuildInputs = [ qttools ];
}

View File

@ -6,6 +6,6 @@
mkKdeDerivation {
pname = "modemmanager-qt";
extraNativeBuildInputs = [pkg-config];
extraPropagatedBuildInputs = [modemmanager];
extraNativeBuildInputs = [ pkg-config ];
extraPropagatedBuildInputs = [ modemmanager ];
}

View File

@ -7,7 +7,7 @@
mkKdeDerivation {
pname = "networkmanager-qt";
extraNativeBuildInputs = [pkg-config];
extraBuildInputs = [qtdeclarative];
extraPropagatedBuildInputs = [networkmanager];
extraNativeBuildInputs = [ pkg-config ];
extraBuildInputs = [ qtdeclarative ];
extraPropagatedBuildInputs = [ networkmanager ];
}

View File

@ -8,5 +8,10 @@
mkKdeDerivation {
pname = "prison";
extraBuildInputs = [qtdeclarative qtmultimedia qrencode libdmtx];
extraBuildInputs = [
qtdeclarative
qtmultimedia
qrencode
libdmtx
];
}

View File

@ -8,6 +8,10 @@
mkKdeDerivation {
pname = "purpose";
extraBuildInputs = [qtdeclarative];
extraPropagatedBuildInputs = [kaccounts-integration kdeclarative prison];
extraBuildInputs = [ qtdeclarative ];
extraPropagatedBuildInputs = [
kaccounts-integration
kdeclarative
prison
];
}

View File

@ -7,8 +7,11 @@
mkKdeDerivation {
pname = "qqc2-desktop-style";
extraNativeBuildInputs = [qttools];
extraBuildInputs = [qtdeclarative kirigami.unwrapped];
extraNativeBuildInputs = [ qttools ];
extraBuildInputs = [
qtdeclarative
kirigami.unwrapped
];
excludeDependencies = ["kirigami"];
excludeDependencies = [ "kirigami" ];
}

View File

@ -13,7 +13,11 @@ mkKdeDerivation {
./fix-search-path.patch
];
extraNativeBuildInputs = [qttools bison flex];
extraBuildInputs = [libimobiledevice];
extraNativeBuildInputs = [
qttools
bison
flex
];
extraBuildInputs = [ libimobiledevice ];
meta.mainProgram = "solid-hardware6";
}

View File

@ -9,7 +9,14 @@
mkKdeDerivation {
pname = "sonnet";
extraNativeBuildInputs = [qttools pkg-config];
extraBuildInputs = [qtdeclarative aspell hunspell];
extraNativeBuildInputs = [
qttools
pkg-config
];
extraBuildInputs = [
qtdeclarative
aspell
hunspell
];
meta.mainProgram = "parsetrigrams6";
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "syndication";
}

View File

@ -7,7 +7,10 @@
mkKdeDerivation {
pname = "syntax-highlighting";
extraBuildInputs = [qtdeclarative];
extraNativeBuildInputs = [qttools perl];
extraBuildInputs = [ qtdeclarative ];
extraNativeBuildInputs = [
qttools
perl
];
meta.mainProgram = "ksyntaxhighlighter6";
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "threadweaver";
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "accessibility-inspector";
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "akonadi-calendar-tools";
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "akonadi-calendar";
meta.mainProgram = "kalendarac";

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "akonadi-contacts";
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "akonadi-import-wizard";
meta.mainProgram = "akonadiimportwizard";

View File

@ -6,5 +6,8 @@
mkKdeDerivation {
pname = "akonadi-mime";
extraNativeBuildInputs = [shared-mime-info libxslt];
extraNativeBuildInputs = [
shared-mime-info
libxslt
];
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "akonadi-notes";
}

View File

@ -29,5 +29,8 @@ mkKdeDerivation rec {
rustc
];
extraBuildInputs = [corrosion xapian];
extraBuildInputs = [
corrosion
xapian
];
}

View File

@ -20,8 +20,16 @@ mkKdeDerivation {
"-DMYSQLD_SCRIPTS_PATH=${lib.getBin mariadb}/bin"
];
extraNativeBuildInputs = [qttools shared-mime-info];
extraBuildInputs = [kaccounts-integration accounts-qt xz mariadb];
extraNativeBuildInputs = [
qttools
shared-mime-info
];
extraBuildInputs = [
kaccounts-integration
accounts-qt
xz
mariadb
];
# Hardcoded as a QString, which is UTF-16 so Nix can't pick it up automatically
postFixup = ''

View File

@ -5,6 +5,6 @@
mkKdeDerivation {
pname = "akonadiconsole";
extraBuildInputs = [xapian];
extraBuildInputs = [ xapian ];
meta.mainProgram = "akonadiconsole";
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "akregator";
extraBuildInputs = [qtwebengine];
extraBuildInputs = [ qtwebengine ];
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "alligator";
meta.mainProgram = "alligator";

View File

@ -9,6 +9,13 @@
mkKdeDerivation {
pname = "analitza";
extraNativeBuildInputs = [qt5compat qtsvg qttools];
extraBuildInputs = [qtdeclarative eigen];
extraNativeBuildInputs = [
qt5compat
qtsvg
qttools
];
extraBuildInputs = [
qtdeclarative
eigen
];
}

View File

@ -28,5 +28,10 @@ mkKdeDerivation rec {
rustc
];
extraBuildInputs = [qtsvg qtwebengine corrosion qcoro];
extraBuildInputs = [
qtsvg
qtwebengine
corrosion
qcoro
];
}

View File

@ -6,6 +6,9 @@
mkKdeDerivation {
pname = "ark";
extraBuildInputs = [libarchive libzip];
extraBuildInputs = [
libarchive
libzip
];
meta.mainProgram = "ark";
}

View File

@ -5,7 +5,7 @@
mkKdeDerivation {
pname = "artikulate";
extraBuildInputs = [qtmultimedia];
extraBuildInputs = [ qtmultimedia ];
# FIXME(qt5)
meta.broken = true;
}

View File

@ -6,5 +6,8 @@
mkKdeDerivation {
pname = "audex";
extraBuildInputs = [libcdio libcdio-paranoia];
extraBuildInputs = [
libcdio
libcdio-paranoia
];
}

View File

@ -20,5 +20,10 @@ mkKdeDerivation {
})
];
extraBuildInputs = [cdparanoia flac libogg libvorbis];
extraBuildInputs = [
cdparanoia
flac
libogg
libvorbis
];
}

View File

@ -14,41 +14,40 @@
purpose,
qcoro,
python3,
}: let
}:
let
ps = python3.pkgs;
pythonDeps = [
ps.yt-dlp
ps.ytmusicapi
];
in
mkKdeDerivation {
pname = "audiotube";
mkKdeDerivation {
pname = "audiotube";
extraNativeBuildInputs = [
ps.pybind11
];
extraNativeBuildInputs = [
ps.pybind11
];
extraBuildInputs =
[
qtdeclarative
qtmultimedia
qtsvg
extraBuildInputs = [
qtdeclarative
qtmultimedia
qtsvg
extra-cmake-modules
futuresql
kirigami
kirigami-addons
kcoreaddons
ki18n
kcrash
kwindowsystem
purpose
qcoro
]
++ pythonDeps;
extra-cmake-modules
futuresql
kirigami
kirigami-addons
kcoreaddons
ki18n
kcrash
kwindowsystem
purpose
qcoro
] ++ pythonDeps;
qtWrapperArgs = [
"--prefix PYTHONPATH : ${ps.makePythonPath pythonDeps}"
];
meta.mainProgram = "audiotube";
}
qtWrapperArgs = [
"--prefix PYTHONPATH : ${ps.makePythonPath pythonDeps}"
];
meta.mainProgram = "audiotube";
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "baloo-widgets";
meta.mainProgram = "baloo_filemetadata_temp_extractor";

View File

@ -5,6 +5,6 @@
mkKdeDerivation {
pname = "blinken";
extraBuildInputs = [qtsvg];
extraBuildInputs = [ qtsvg ];
meta.mainProgram = "blinken";
}

View File

@ -5,6 +5,6 @@
mkKdeDerivation {
pname = "bomber";
extraNativeBuildInputs = [_7zz];
extraNativeBuildInputs = [ _7zz ];
meta.mainProgram = "bomber";
}

View File

@ -6,8 +6,8 @@
mkKdeDerivation {
pname = "bovo";
extraNativeBuildInputs = [_7zz];
extraBuildInputs = [qtsvg];
extraNativeBuildInputs = [ _7zz ];
extraBuildInputs = [ qtsvg ];
meta.mainProgram = "bovo";
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "calendarsupport";
}

View File

@ -5,5 +5,5 @@
mkKdeDerivation {
pname = "calindori";
extraBuildInputs = [qtsvg];
extraBuildInputs = [ qtsvg ];
}

View File

@ -5,7 +5,7 @@
mkKdeDerivation {
pname = "cantor";
extraNativeBuildInputs = [shared-mime-info];
extraNativeBuildInputs = [ shared-mime-info ];
# FIXME(qt5)
meta.broken = true;
}

View File

@ -1,4 +1,4 @@
{mkKdeDerivation}:
{ mkKdeDerivation }:
mkKdeDerivation {
pname = "cervisia";
# FIXME(qt5)

View File

@ -7,7 +7,10 @@
mkKdeDerivation {
pname = "colord-kde";
extraNativeBuildInputs = [pkg-config];
extraBuildInputs = [lcms2 xorg.libXrandr];
extraNativeBuildInputs = [ pkg-config ];
extraBuildInputs = [
lcms2
xorg.libXrandr
];
meta.mainProgram = "colord-kde-icc-importer";
}

Some files were not shown because too many files have changed in this diff Show More