Remove kdeWrapper

This commit is contained in:
Thomas Tuegel 2017-05-16 10:56:41 -05:00
parent 945758f960
commit be7b7d908f
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59
44 changed files with 665 additions and 987 deletions

View File

@ -7,7 +7,7 @@ let
xcfg = config.services.xserver; xcfg = config.services.xserver;
cfg = xcfg.desktopManager.plasma5; cfg = xcfg.desktopManager.plasma5;
inherit (pkgs) kdeWrapper kdeApplications plasma5 libsForQt5 qt5 xorg; inherit (pkgs) kdeApplications plasma5 libsForQt5 qt5 xorg;
in in
@ -30,24 +30,12 @@ in
''; '';
}; };
extraPackages = mkOption {
type = types.listOf types.package;
default = [];
description = ''
KDE packages that need to be installed system-wide.
'';
};
}; };
}; };
config = mkMerge [ config = mkMerge [
(mkIf (cfg.extraPackages != []) {
environment.systemPackages = [ (kdeWrapper cfg.extraPackages) ];
})
(mkIf (xcfg.enable && cfg.enable) { (mkIf (xcfg.enable && cfg.enable) {
services.xserver.desktopManager.session = singleton { services.xserver.desktopManager.session = singleton {
name = "plasma5"; name = "plasma5";
@ -139,10 +127,14 @@ in
plasma-workspace plasma-workspace
plasma-workspace-wallpapers plasma-workspace-wallpapers
dolphin
dolphin-plugins dolphin-plugins
ffmpegthumbs ffmpegthumbs
kdegraphics-thumbnailers kdegraphics-thumbnailers
khelpcenter
kio-extras kio-extras
konsole
oxygen
print-manager print-manager
breeze-icons breeze-icons
@ -163,16 +155,6 @@ in
++ lib.optional config.services.colord.enable colord-kde ++ lib.optional config.services.colord.enable colord-kde
++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ]; ++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ];
services.xserver.desktopManager.plasma5.extraPackages =
with kdeApplications; with plasma5;
[
khelpcenter
oxygen
dolphin
konsole
];
environment.pathsToLink = [ "/share" ]; environment.pathsToLink = [ "/share" ];
environment.etc = singleton { environment.etc = singleton {

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, gettext, pkgconfig, extra-cmake-modules, makeQtWrapper { mkDerivation, lib, fetchurl, cmake, gettext, pkgconfig, extra-cmake-modules, wrapGAppsHook
, qtquickcontrols, qtwebkit, qttools, kde-cli-tools , qtquickcontrols, qtwebkit, qttools, kde-cli-tools
, kconfig, kdeclarative, kdoctools, kiconthemes, ki18n, kitemmodels, kitemviews , kconfig, kdeclarative, kdoctools, kiconthemes, ki18n, kitemmodels, kitemviews
, kjobwidgets, kcmutils, kio, knewstuff, knotifyconfig, kparts, ktexteditor , kjobwidgets, kcmutils, kio, knewstuff, knotifyconfig, kparts, ktexteditor
@ -12,7 +12,7 @@ let
version = "5.1.1"; version = "5.1.1";
in in
stdenv.mkDerivation rec { mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
@ -21,21 +21,23 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
cmake gettext pkgconfig extra-cmake-modules makeWrapper makeQtWrapper cmake gettext pkgconfig extra-cmake-modules makeWrapper wrapGAppsHook
]; ];
buildInputs = [ buildInputs = [
kdevelop-pg-qt
llvmPackages.llvm llvmPackages.clang-unwrapped
];
propagatedBuildInputs = [
qtquickcontrols qtwebkit qtquickcontrols qtwebkit
kconfig kdeclarative kdoctools kiconthemes ki18n kitemmodels kitemviews kconfig kdeclarative kdoctools kiconthemes ki18n kitemmodels kitemviews
kjobwidgets kcmutils kio knewstuff knotifyconfig kparts ktexteditor kjobwidgets kcmutils kio knewstuff knotifyconfig kparts ktexteditor
threadweaver kxmlgui kwindowsystem grantlee plasma-framework krunner threadweaver kxmlgui kwindowsystem grantlee plasma-framework krunner
kdevplatform kdevelop-pg-qt shared_mime_info libksysguard konsole.unwrapped kdevplatform shared_mime_info libksysguard konsole
llvmPackages.llvm llvmPackages.clang-unwrapped
]; ];
postInstall = '' postInstall = ''
wrapQtProgram "$out/bin/kdevelop"
# The kdevelop! script (shell environment) needs qdbus and kioclient5 in PATH. # The kdevelop! script (shell environment) needs qdbus and kioclient5 in PATH.
wrapProgram "$out/bin/kdevelop!" --prefix PATH ":" "${qttools}/bin:${kde-cli-tools}/bin" wrapProgram "$out/bin/kdevelop!" --prefix PATH ":" "${qttools}/bin:${kde-cli-tools}/bin"
@ -47,7 +49,7 @@ stdenv.mkDerivation rec {
sed -E -i "$kdev_fixup_sed" "$out/bin/.kdevelop!-wrapped" sed -E -i "$kdev_fixup_sed" "$out/bin/.kdevelop!-wrapped"
''; '';
meta = with stdenv.lib; { meta = with lib; {
maintainers = [ maintainers.ambrop72 ]; maintainers = [ maintainers.ambrop72 ];
platforms = platforms.linux; platforms = platforms.linux;
description = "KDE official IDE"; description = "KDE official IDE";
@ -60,6 +62,6 @@ stdenv.mkDerivation rec {
libraries and is under development since 1998. libraries and is under development since 1998.
''; '';
homepage = https://www.kdevelop.org; homepage = https://www.kdevelop.org;
license = with stdenv.lib.licenses; [ gpl2Plus lgpl2Plus ]; license = with licenses; [ gpl2Plus lgpl2Plus ];
}; };
} }

View File

@ -3,7 +3,7 @@
, fetchgit , fetchgit
, extra-cmake-modules , extra-cmake-modules
, kdoctools , kdoctools
, kdeWrapper , wrapGAppsHook
, qtscript , qtscript
, kconfig , kconfig
, kcrash , kcrash
@ -21,8 +21,6 @@
, poppler , poppler
}: }:
let
unwrapped =
mkDerivation rec { mkDerivation rec {
name = "kile-${version}"; name = "kile-${version}";
version = "2017-02-09"; version = "2017-02-09";
@ -34,9 +32,9 @@ let
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook ];
buildInputs = [ propagatedBuildInputs = [
kconfig kconfig
kcrash kcrash
kdbusaddons kdbusaddons
@ -49,22 +47,17 @@ let
kparts kparts
ktexteditor ktexteditor
kwindowsystem kwindowsystem
okular.unwrapped okular
poppler poppler
qtscript qtscript
]; ];
propagatedUserEnvPkgs = [ konsole ];
meta = { meta = {
description = "Kile is a user friendly TeX/LaTeX authoring tool for the KDE desktop environment"; description = "Kile is a user friendly TeX/LaTeX authoring tool for the KDE desktop environment";
homepage = https://www.kde.org/applications/office/kile/; homepage = https://www.kde.org/applications/office/kile/;
maintainers = with lib.maintainers; [ fridh ]; maintainers = with lib.maintainers; [ fridh ];
license = lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
}; };
};
in
kdeWrapper
{
inherit unwrapped;
targets = [ "bin/kile" ];
paths = [ konsole.unwrapped okular.unwrapped ];
} }

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, extra-cmake-modules, makeQtWrapper { mkDerivation, lib, fetchurl, cmake, extra-cmake-modules, wrapGAppsHook
# For `digitaglinktree` # For `digitaglinktree`
, perl, sqlite , perl, sqlite
@ -44,7 +44,7 @@
, oxygen , oxygen
}: }:
stdenv.mkDerivation rec { mkDerivation rec {
name = "digikam-${version}"; name = "digikam-${version}";
version = "5.4.0"; version = "5.4.0";
@ -53,26 +53,11 @@ stdenv.mkDerivation rec {
sha256 = "0dgsgji14l5zvxny36hrfsp889fsfrsbbn9bg57m18404xp903kg"; sha256 = "0dgsgji14l5zvxny36hrfsp889fsfrsbbn9bg57m18404xp903kg";
}; };
nativeBuildInputs = [ cmake extra-cmake-modules makeQtWrapper ]; nativeBuildInputs = [ cmake extra-cmake-modules kdoctools wrapGAppsHook ];
patches = [ ./0001-Disable-fno-operator-names.patch ]; patches = [ ./0001-Disable-fno-operator-names.patch ];
buildInputs = [ buildInputs = [
qtbase
qtxmlpatterns
qtsvg
qtwebkit
kconfigwidgets
kcoreaddons
kdoctools
kfilemetadata
knotifications
knotifyconfig
ktextwidgets
kwidgetsaddons
kxmlgui
bison bison
boost boost
eigen eigen
@ -86,12 +71,28 @@ stdenv.mkDerivation rec {
liblqr1 liblqr1
libqtav libqtav
libusb1 libusb1
marble.unwrapped
mysql mysql
opencv opencv
threadweaver ];
propagatedBuildInputs = [
qtbase
qtxmlpatterns
qtsvg
qtwebkit
kconfigwidgets
kcoreaddons
kfilemetadata
knotifications
knotifyconfig
ktextwidgets
kwidgetsaddons
kxmlgui
marble
oxygen oxygen
threadweaver
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;
@ -104,22 +105,18 @@ stdenv.mkDerivation rec {
"-DENABLE_MEDIAPLAYER=1" "-DENABLE_MEDIAPLAYER=1"
]; ];
fixupPhase = '' preFixup = ''
gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ gnumake hugin enblend-enfuse ]})
substituteInPlace $out/bin/digitaglinktree \ substituteInPlace $out/bin/digitaglinktree \
--replace "/usr/bin/perl" "${perl}/bin/perl" \ --replace "/usr/bin/perl" "${perl}/bin/perl" \
--replace "/usr/bin/sqlite3" "${sqlite}/bin/sqlite3" --replace "/usr/bin/sqlite3" "${sqlite}/bin/sqlite3"
wrapQtProgram $out/bin/digikam \
--prefix PATH : "${gnumake}/bin:${hugin}/bin:${enblend-enfuse}/bin"
wrapQtProgram $out/bin/showfoto
''; '';
meta = { meta = with lib; {
description = "Photo Management Program"; description = "Photo Management Program";
license = stdenv.lib.licenses.gpl2; license = licenses.gpl2;
homepage = http://www.digikam.org; homepage = http://www.digikam.org;
maintainers = with stdenv.lib.maintainers; [ the-kenny ]; maintainers = with maintainers; [ the-kenny ];
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux;
}; };
} }

View File

@ -1,7 +1,7 @@
{ {
mkDerivation, lib, config, kdeWrapper, mkDerivation, lib, config, wrapGAppsHook,
extra-cmake-modules, kdoctools, makeWrapper, extra-cmake-modules, kdoctools,
karchive, kconfig, kcrash, kdbusaddons, ki18n, kiconthemes, khtml, kio, karchive, kconfig, kcrash, kdbusaddons, ki18n, kiconthemes, khtml, kio,
kservice, kpty, kwidgetsaddons, libarchive, kitemmodels, kservice, kpty, kwidgetsaddons, libarchive, kitemmodels,
@ -13,35 +13,26 @@
unfreeEnableUnrar ? false, unrar, unfreeEnableUnrar ? false, unrar,
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "ark"; name = "ark";
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules kdoctools makeWrapper extra-cmake-modules kdoctools wrapGAppsHook
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice
kpty kwidgetsaddons libarchive kitemmodels kpty kwidgetsaddons libarchive kitemmodels
]; ];
postInstall = preFixup =
let let
PATH = PATH =
lib.makeBinPath lib.makeBinPath
([ p7zip unzipNLS zip ] ++ lib.optional unfreeEnableUnrar unrar); ([ p7zip unzipNLS zip ] ++ lib.optional unfreeEnableUnrar unrar);
in '' in ''
wrapProgram "$out/bin/ark" \ gappsWrapperArgs+=(--prefix PATH : "${PATH}")
--prefix PATH : "${PATH}"
''; '';
meta = { meta = {
license = with lib.licenses; license = with lib.licenses;
[ gpl2 lgpl3 ] ++ lib.optional unfreeEnableUnrar unfree; [ gpl2 lgpl3 ] ++ lib.optional unfreeEnableUnrar unfree;
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
};
in
kdeWrapper
{
inherit unwrapped;
targets = [ "bin/ark" ];
} }

View File

@ -12,6 +12,6 @@ mkDerivation {
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ propagatedBuildInputs = [
dolphin.unwrapped kdelibs4support ki18n kio kxmlgui dolphin kdelibs4support ki18n kio kxmlgui
]; ];
} }

View File

@ -1,32 +1,23 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, makeQtWrapper, extra-cmake-modules, kdoctools,
baloo, baloo-widgets, dolphin-plugins, kactivities, kbookmarks, kcmutils, baloo, baloo-widgets, dolphin-plugins, kactivities, kbookmarks, kcmutils,
kcompletion, kconfig, kcoreaddons, kdelibs4support, kdbusaddons, kcompletion, kconfig, kcoreaddons, kdelibs4support, kdbusaddons,
kfilemetadata, ki18n, kiconthemes, kinit, kio, knewstuff, knotifications, kfilemetadata, ki18n, kiconthemes, kinit, kio, knewstuff, knotifications,
konsole, kparts, ktexteditor, kwindowsystem, phonon, solid konsole, kparts, ktexteditor, kwindowsystem, phonon, solid
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "dolphin"; name = "dolphin";
meta = { meta = {
license = with lib.licenses; [ gpl2 fdl12 ]; license = with lib.licenses; [ gpl2 fdl12 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ propagatedBuildInputs = [
baloo baloo-widgets kactivities kbookmarks kcmutils kcompletion kconfig baloo baloo-widgets kactivities kbookmarks kcmutils kcompletion kconfig
kcoreaddons kdelibs4support kdbusaddons kfilemetadata ki18n kiconthemes kcoreaddons kdelibs4support kdbusaddons kfilemetadata ki18n kiconthemes
kinit kio knewstuff knotifications kparts ktexteditor kwindowsystem kinit kio knewstuff knotifications kparts ktexteditor kwindowsystem
phonon solid phonon solid
]; ];
};
in
kdeWrapper
{
inherit unwrapped;
targets = [ "bin/dolphin" ];
paths = [ dolphin-plugins konsole.unwrapped ];
} }

View File

@ -1,24 +1,17 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kio, kparts, kxmlgui, qtscript, solid kio, kparts, kxmlgui, qtscript, solid
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "filelight"; name = "filelight";
meta = { meta = {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ fridh vcunat ]; maintainers = with lib.maintainers; [ fridh vcunat ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kio kparts kxmlgui qtscript solid kio kparts kxmlgui qtscript solid
]; ];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/filelight" ];
} }

View File

@ -1,27 +1,20 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
baloo, exiv2, kactivities, kdelibs4support, kio, kipi-plugins, lcms2, baloo, exiv2, kactivities, kdelibs4support, kio, kipi-plugins, lcms2,
libkdcraw, libkipi, phonon, qtimageformats, qtsvg, qtx11extras libkdcraw, libkipi, phonon, qtimageformats, qtsvg, qtx11extras
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "gwenview"; name = "gwenview";
meta = { meta = {
license = with lib.licenses; [ gpl2 fdl12 ]; license = with lib.licenses; [ gpl2 fdl12 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
baloo kactivities kdelibs4support kio exiv2 lcms2 libkdcraw baloo kactivities kdelibs4support kio exiv2 lcms2 libkdcraw
libkipi phonon qtimageformats qtsvg qtx11extras libkipi phonon qtimageformats qtsvg qtx11extras
]; ];
}; propagatedUserEnvPkgs = [ kipi-plugins ];
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/gwenview" ];
paths = [ kipi-plugins ];
} }

View File

@ -1,4 +1,4 @@
{ mkDerivation, lib, kdeWrapper, extra-cmake-modules { mkDerivation, lib, wrapGAppsHook, extra-cmake-modules
, qtwebkit , qtwebkit
, libkcddb, kcmutils, kdoctools, kfilemetadata, knewstuff, knotifyconfig, solid, kxmlgui , libkcddb, kcmutils, kdoctools, kfilemetadata, knewstuff, knotifyconfig, solid, kxmlgui
, flac, lame, libmad, libmpcdec, libvorbis , flac, lame, libmad, libmpcdec, libvorbis
@ -7,8 +7,6 @@
, ffmpeg, libmusicbrainz2, normalize, sox, transcode , ffmpeg, libmusicbrainz2, normalize, sox, transcode
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "k3b"; name = "k3b";
meta = with lib; { meta = with lib; {
@ -16,7 +14,7 @@ let
maintainers = with maintainers; [ sander phreedom ]; maintainers = with maintainers; [ sander phreedom ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
# qt # qt
qtwebkit qtwebkit
@ -31,11 +29,12 @@ let
# others # others
ffmpeg libmusicbrainz2 ffmpeg libmusicbrainz2
]; ];
enableParallelBuilding = true; preFixup =
}; let k3bPath = lib.makeBinPath [
cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode
in kdeWrapper { vcdimager
inherit unwrapped; ];
targets = [ "bin/k3b" ]; in ''
paths = [ cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode vcdimager ]; gappsWrapperArgs+=(--prefix PATH : "${k3bPath}")
'';
} }

View File

@ -1,32 +1,24 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kactivities, kconfig, kcrash, kdbusaddons, kguiaddons, kiconthemes, ki18n, kactivities, kconfig, kcrash, kdbusaddons, kguiaddons, kiconthemes, ki18n,
kinit, kio, kitemmodels, kjobwidgets, knewstuff, knotifications, konsole, kinit, kio, kitemmodels, kjobwidgets, knewstuff, knotifications, konsole,
kparts, ktexteditor, kwindowsystem, kwallet, kxmlgui, libgit2, kparts, ktexteditor, kwindowsystem, kwallet, kxmlgui, libgit2,
plasma-framework, qtscript, threadweaver plasma-framework, qtscript, threadweaver
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "kate"; name = "kate";
meta = { meta = {
license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ]; license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kactivities ki18n kio ktexteditor kwindowsystem plasma-framework kactivities ki18n kio ktexteditor kwindowsystem plasma-framework
qtscript kconfig kcrash kguiaddons kiconthemes kinit kjobwidgets kparts qtscript kconfig kcrash kguiaddons kiconthemes kinit kjobwidgets kparts
kxmlgui kdbusaddons kwallet kitemmodels knotifications threadweaver kxmlgui kdbusaddons kwallet kitemmodels knotifications threadweaver
knewstuff libgit2 knewstuff libgit2
]; ];
}; propagatedUserEnvPkgs = [ konsole ];
in
kdeWrapper
{
inherit unwrapped;
targets = [ "bin/kate" "bin/kwrite" ];
paths = [ konsole.unwrapped ];
} }

View File

@ -1,28 +1,20 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kio, ki18n, kio, ki18n,
perl, python, php perl, python, php
}: }:
kdeWrapper { mkDerivation {
unwrapped = mkDerivation {
name = "kcachegrind"; name = "kcachegrind";
meta = { meta = {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ orivej ]; maintainers = with lib.maintainers; [ orivej ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
buildInputs = [ perl python php kio ki18n ]; propagatedBuildInputs = [ kio ];
enableParallelBuilding = true; buildInputs = [ perl python php ki18n ];
}; preFixup = ''
gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ perl php python]}")
targets = [ '';
"bin/kcachegrind"
"bin/dprof2calltree" # perl
"bin/hotshot2calltree" # python
"bin/memprof2calltree" # perl
"bin/op2calltree" # perl
"bin/pprof2calltree" # php
];
} }

View File

@ -1,24 +1,18 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kconfig, kconfigwidgets, kguiaddons, kinit, knotifications, gmp kconfig, kconfigwidgets, kguiaddons, kinit, knotifications, gmp
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "kcalc"; name = "kcalc";
meta = { meta = {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = [ lib.maintainers.fridh ]; maintainers = [ lib.maintainers.fridh ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
buildInputs = [ gmp ];
propagatedBuildInputs = [ propagatedBuildInputs = [
gmp kconfig kconfigwidgets kguiaddons kinit knotifications kconfig kconfigwidgets kguiaddons kinit knotifications
]; ];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/kcalc" ];
} }

View File

@ -1,21 +1,16 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, ki18n, kwidgetsaddons, kxmlgui extra-cmake-modules, wrapGAppsHook,
ki18n, kwidgetsaddons, kxmlgui
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "kcolorchooser"; name = "kcolorchooser";
meta = { meta = {
license = with lib.licenses; [ mit ]; license = with lib.licenses; [ mit ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook ];
propagatedBuildInputs = [ ki18n kwidgetsaddons kxmlgui ]; buildInputs = [ ki18n ];
}; propagatedBuildInputs = [ kwidgetsaddons kxmlgui ];
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/kcolorchooser" ];
} }

View File

@ -10,6 +10,7 @@ mkDerivation {
license = [ lib.licenses.lgpl21 ]; license = [ lib.licenses.lgpl21 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules ki18n ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kcoreaddons kconfig kcodecs ]; buildInputs = [ ki18n ];
propagatedBuildInputs = [ kcoreaddons kconfig kcodecs ];
} }

View File

@ -1,8 +1,8 @@
{ mkDerivation { mkDerivation
, kdeWrapper
, lib , lib
, extra-cmake-modules , extra-cmake-modules
, kdoctools , kdoctools
, wrapGAppsHook
, qtscript , qtscript
, kactivities , kactivities
, kconfig , kconfig
@ -31,8 +31,7 @@
, qtquickcontrols , qtquickcontrols
}: }:
let mkDerivation {
unwrapped = mkDerivation {
name = "kdenlive"; name = "kdenlive";
patches = [ patches = [
./kdenlive-cmake-concurrent-module.patch ./kdenlive-cmake-concurrent-module.patch
@ -40,6 +39,7 @@ unwrapped = mkDerivation {
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
wrapGAppsHook
]; ];
buildInputs = [ buildInputs = [
qtscript qtscript
@ -61,25 +61,12 @@ unwrapped = mkDerivation {
ffmpeg ffmpeg
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kactivities kactivities kconfig kcrash kguiaddons kiconthemes kinit kio kio-extras
ki18n kdbusaddons kfilemetadata knotifications knewstuff karchive knotifyconfig
kio kplotting ktextwidgets kwindowsystem plasma-framework
kio-extras phonon-backend-gstreamer qtquickcontrols shared_mime_info
kwindowsystem
kfilemetadata
plasma-framework
phonon-backend-gstreamer
qtquickcontrols
]; ];
enableParallelBuilding = true;
meta = { meta = {
license = with lib.licenses; [ gpl2Plus ]; license = with lib.licenses; [ gpl2Plus ];
}; };
};
in
kdeWrapper
{
inherit unwrapped;
targets = [ "bin/kdenlive" ];
paths = [ kinit ];
} }

View File

@ -1,24 +1,15 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kcmutils kcmutils
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "kdf"; name = "kdf";
meta = { meta = {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = [ lib.maintainers.peterhoeg ]; maintainers = [ lib.maintainers.peterhoeg ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [ kcmutils ];
kcmutils
];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/kdf" ];
} }

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, lib, makeQtWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, ki18n, extra-cmake-modules, kdoctools, ki18n, wrapGAppsHook,
akonadi-contacts, gnupg1, gpgme, karchive, kcodecs, kcontacts, kcoreaddons, kcrash, akonadi-contacts, gnupg1, gpgme, karchive, kcodecs, kcontacts, kcoreaddons, kcrash,
kdbusaddons, kiconthemes, kjobwidgets, kio, knotifications, kservice, kdbusaddons, kiconthemes, kjobwidgets, kio, knotifications, kservice,
ktextwidgets, kxmlgui, kwidgetsaddons, kwindowsystem ktextwidgets, kxmlgui, kwidgetsaddons, kwindowsystem
@ -8,14 +8,14 @@
mkDerivation { mkDerivation {
name = "kgpg"; name = "kgpg";
nativeBuildInputs = [ extra-cmake-modules kdoctools ki18n ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ki18n wrapGAppsHook ];
buildInputs = [ buildInputs = [
akonadi-contacts gnupg1 gpgme karchive kcodecs kcontacts kcoreaddons kcrash kdbusaddons akonadi-contacts gnupg1 gpgme karchive kcodecs kcontacts kcoreaddons kcrash kdbusaddons
kiconthemes kjobwidgets kio knotifications kservice ktextwidgets kxmlgui kiconthemes kjobwidgets kio knotifications kservice ktextwidgets kxmlgui
kwidgetsaddons kwindowsystem makeQtWrapper kwidgetsaddons kwindowsystem
]; ];
postInstall = '' preFixup = ''
wrapQtProgram $out/bin/kgpg --suffix PATH : ${lib.makeBinPath [ gnupg1 ]} gappsWrapperArgs+=(--suffix PATH : ${lib.makeBinPath [ gnupg1 ]})
''; '';
meta = { meta = {
license = [ lib.licenses.gpl2 ]; license = [ lib.licenses.gpl2 ];

View File

@ -1,22 +1,15 @@
{ {
mkDerivation, kdeWrapper, mkDerivation,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
grantlee, kconfig, kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils, grantlee, kconfig, kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils,
kdelibs4support, khtml, kservice, xapian kdelibs4support, khtml, kservice, xapian
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "khelpcenter"; name = "khelpcenter";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
buildInputs = [ buildInputs = [
grantlee kdelibs4support khtml ki18n kconfig kcoreaddons kdbusaddons grantlee kdelibs4support khtml ki18n kconfig kcoreaddons kdbusaddons
kinit kcmutils kservice xapian kinit kcmutils kservice xapian
]; ];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/khelpcenter" ];
} }

View File

@ -1,26 +1,18 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kparts, qtsvg, qtxmlpatterns, ktexteditor, boost kparts, qtsvg, qtxmlpatterns, ktexteditor, boost
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "kig"; name = "kig";
meta = { meta = {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ raskin ]; maintainers = with lib.maintainers; [ raskin ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
buildInputs = [ buildInputs = [
kparts qtsvg qtxmlpatterns ktexteditor boost kparts qtsvg qtxmlpatterns ktexteditor boost
]; ];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/kig" ];
} }

View File

@ -1,19 +1,17 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kglobalaccel, kxmlgui, kcoreaddons, kdelibs4support, kglobalaccel, kxmlgui, kcoreaddons, kdelibs4support,
plasma-framework, libpulseaudio, alsaLib, libcanberra_kde plasma-framework, libpulseaudio, alsaLib, libcanberra_kde
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "kmix"; name = "kmix";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
maintainers = [ lib.maintainers.rongcuid ]; maintainers = [ lib.maintainers.rongcuid ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
buildInputs = [ libpulseaudio alsaLib libcanberra_kde ]; buildInputs = [ libpulseaudio alsaLib libcanberra_kde ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kglobalaccel kxmlgui kcoreaddons kdelibs4support kglobalaccel kxmlgui kcoreaddons kdelibs4support
@ -22,9 +20,4 @@ let
cmakeFlags = [ cmakeFlags = [
"-DKMIX_KF5_BUILD=1" "-DKMIX_KF5_BUILD=1"
]; ];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/kmix" ];
} }

View File

@ -1,28 +1,18 @@
{ lib { lib
, mkDerivation , mkDerivation
, kdeWrapper
, extra-cmake-modules , extra-cmake-modules
, kdoctools , kdoctools
, wrapGAppsHook
, kdelibs4support , kdelibs4support
, libkexiv2 , libkexiv2
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "kolourpaint"; name = "kolourpaint";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [ kdelibs4support libkexiv2 ];
kdelibs4support
libkexiv2
];
meta = { meta = {
maintainers = [ lib.maintainers.fridh ]; maintainers = [ lib.maintainers.fridh ];
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
}; };
};
in kdeWrapper {
inherit unwrapped;
targets = ["bin/kolourpaint"];
} }

View File

@ -1,21 +1,14 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kparts, ktexteditor, kwidgetsaddons, libkomparediff2 kparts, ktexteditor, kwidgetsaddons, libkomparediff2
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "kompare"; name = "kompare";
meta = { license = with lib.licenses; [ gpl2 ]; }; meta = { license = with lib.licenses; [ gpl2 ]; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kparts ktexteditor kwidgetsaddons libkomparediff2 kparts ktexteditor kwidgetsaddons libkomparediff2
]; ];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/kompare" ];
} }

View File

@ -1,30 +1,23 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kguiaddons, kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kguiaddons,
ki18n, kiconthemes, kinit, kdelibs4support, kio, knotifications, ki18n, kiconthemes, kinit, kdelibs4support, kio, knotifications,
knotifyconfig, kparts, kpty, kservice, ktextwidgets, kwidgetsaddons, knotifyconfig, kparts, kpty, kservice, ktextwidgets, kwidgetsaddons,
kwindowsystem, kxmlgui, qtscript kwindowsystem, kxmlgui, qtscript
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "konsole"; name = "konsole";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kdelibs4support ki18n kwindowsystem qtscript kbookmarks kcompletion kdelibs4support ki18n kwindowsystem qtscript kbookmarks kcompletion
kconfig kconfigwidgets kcoreaddons kguiaddons kiconthemes kinit kio kconfig kconfigwidgets kcoreaddons kguiaddons kiconthemes kinit kio
knotifications knotifyconfig kparts kpty kservice ktextwidgets knotifications knotifyconfig kparts kpty kservice ktextwidgets
kwidgetsaddons kxmlgui kwidgetsaddons kxmlgui
]; ];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/konsole" ];
} }

View File

@ -1,22 +1,15 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kdelibs4support, kdnssd, libvncserver, libXtst kdelibs4support, kdnssd, libvncserver, libXtst
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "krfb"; name = "krfb";
meta = { meta = {
license = with lib.licenses; [ gpl2 fdl12 ]; license = with lib.licenses; [ gpl2 fdl12 ];
maintainers = with lib.maintainers; [ jerith666 ]; maintainers = with lib.maintainers; [ jerith666 ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ kdelibs4support kdnssd libvncserver libXtst ]; propagatedBuildInputs = [ kdelibs4support kdnssd libvncserver libXtst ];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/krfb" ];
} }

View File

@ -1,8 +1,8 @@
{ lib { lib
, mkDerivation , mkDerivation
, kdeWrapper
, extra-cmake-modules , extra-cmake-modules
, kdoctools , kdoctools
, wrapGAppsHook
, kauth , kauth
, kcmutils , kcmutils
, kconfigwidgets , kconfigwidgets
@ -12,25 +12,15 @@
, kxmlgui , kxmlgui
}: }:
let mkDerivation {
unwrapped = mkDerivation {
name = "kwalletmanager"; name = "kwalletmanager";
meta = { meta = {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ fridh ]; maintainers = with lib.maintainers; [ fridh ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kauth kauth kcmutils kconfigwidgets kcoreaddons kdbusaddons kdelibs4support
kcmutils
kconfigwidgets
kcoreaddons
kdbusaddons
kdelibs4support
kxmlgui kxmlgui
]; ];
};
in kdeWrapper {
inherit unwrapped;
targets = ["bin/kwalletmanager5"];
} }

View File

@ -1,28 +1,16 @@
{ mkDerivation, lib, kdeWrapper { mkDerivation, lib
, extra-cmake-modules, kdoctools , extra-cmake-modules, kdoctools, wrapGAppsHook
, qtscript, qtsvg, qtquickcontrols, qtwebkit , qtscript, qtsvg, qtquickcontrols, qtwebkit
, krunner, shared_mime_info, kparts, knewstuff , krunner, shared_mime_info, kparts, knewstuff
, gpsd, perl , gpsd, perl
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "marble"; name = "marble";
meta.license = with lib.licenses; [ lgpl21 gpl3 ]; meta.license = with lib.licenses; [ lgpl21 gpl3 ];
nativeBuildInputs = [ extra-cmake-modules kdoctools perl wrapGAppsHook ];
nativeBuildInputs = [ extra-cmake-modules kdoctools perl ];
propagatedBuildInputs = [ propagatedBuildInputs = [
qtscript qtsvg qtquickcontrols qtwebkit shared_mime_info qtscript qtsvg qtquickcontrols qtwebkit shared_mime_info krunner kparts
krunner kparts knewstuff knewstuff gpsd
gpsd
]; ];
enableParallelBuilding = true;
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/marble-qt" "bin/marble" ];
paths = [ unwrapped ];
} }

View File

@ -1,26 +1,19 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kconfig, kinit, kconfig, kinit,
kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5 kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "okteta"; name = "okteta";
meta = { meta = {
license = with lib.licenses; [ gpl2 ]; license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ peterhoeg ]; maintainers = with lib.maintainers; [ peterhoeg ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kconfig kinit kconfig kinit
kcmutils kconfigwidgets knewstuff kparts qca-qt5 kcmutils kconfigwidgets knewstuff kparts qca-qt5
]; ];
};
in kdeWrapper {
inherit unwrapped;
targets = [ "bin/okteta" ];
} }

View File

@ -1,16 +1,15 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
djvulibre, ebook_tools, kactivities, karchive, kbookmarks, kcompletion, djvulibre, ebook_tools, kactivities, karchive, kbookmarks, kcompletion,
kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kdegraphics-mobipocket, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kdegraphics-mobipocket,
kiconthemes, kjs, khtml, kio, kparts, kpty, kwallet, kwindowsystem, libkexiv2, kiconthemes, kjs, khtml, kio, kparts, kpty, kwallet, kwindowsystem, libkexiv2,
libspectre, poppler, qca-qt5, qtdeclarative, qtsvg, threadweaver libspectre, poppler, qca-qt5, qtdeclarative, qtsvg, threadweaver
}: }:
let mkDerivation {
unwrapped = mkDerivation {
name = "okular"; name = "okular";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
djvulibre ebook_tools kactivities karchive kbookmarks kcompletion kconfig djvulibre ebook_tools kactivities karchive kbookmarks kcompletion kconfig
kconfigwidgets kcoreaddons kdbusaddons kdegraphics-mobipocket kiconthemes kconfigwidgets kcoreaddons kdbusaddons kdegraphics-mobipocket kiconthemes
@ -23,9 +22,4 @@ let
license = with lib.licenses; [ gpl2 lgpl21 fdl12 bsd3 ]; license = with lib.licenses; [ gpl2 lgpl21 fdl12 bsd3 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/okular" ];
} }

View File

@ -1,5 +1,5 @@
{ {
mkDerivation, lib, extra-cmake-modules, mkDerivation, lib, extra-cmake-modules, wrapGAppsHook,
cups, kconfig, kconfigwidgets, kdbusaddons, kiconthemes, ki18n, kcmutils, kio, cups, kconfig, kconfigwidgets, kdbusaddons, kiconthemes, ki18n, kcmutils, kio,
knotifications, kwidgetsaddons, kwindowsystem, kitemviews, plasma-framework, knotifications, kwidgetsaddons, kwindowsystem, kitemviews, plasma-framework,
qtdeclarative qtdeclarative
@ -11,7 +11,7 @@ mkDerivation {
license = [ lib.licenses.gpl2 ]; license = [ lib.licenses.gpl2 ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
cups kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications cups kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications
kwidgetsaddons kitemviews ki18n kio kwindowsystem plasma-framework kwidgetsaddons kitemviews ki18n kio kwindowsystem plasma-framework

View File

@ -1,25 +1,18 @@
{ {
mkDerivation, lib, kdeWrapper, mkDerivation, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kconfig, kcoreaddons, kdbusaddons, kdeclarative, ki18n, kio, kipi-plugins, kconfig, kcoreaddons, kdbusaddons, kdeclarative, ki18n, kio, kipi-plugins,
knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi, knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi,
xcb-util-cursor xcb-util-cursor
}: }:
let
unwrapped =
mkDerivation { mkDerivation {
name = "spectacle"; name = "spectacle";
meta = with lib; { maintainers = with maintainers; [ ttuegel ]; }; meta = with lib; { maintainers = with maintainers; [ ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi xcb-util-cursor kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi xcb-util-cursor
]; ];
}; propagatedUserEnvPkgs = [ kipi-plugins ];
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/spectacle" ];
paths = [ kipi-plugins ];
} }

View File

@ -1,13 +1,13 @@
{ {
mkDerivation, kdeWrapper, fetchFromGitHub, lib, mkDerivation, fetchFromGitHub, lib,
extra-cmake-modules, kdoctools, kconfig, kinit, kjsembed, extra-cmake-modules, kdoctools, wrapGAppsHook,
taglib, exiv2, podofo kconfig, kinit, kjsembed, taglib, exiv2, podofo
}: }:
let let
pname = "krename"; pname = "krename";
version = "20170610"; version = "20170610";
unwrapped = mkDerivation rec { in mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -25,11 +25,6 @@ let
}; };
buildInputs = [ taglib exiv2 podofo ]; buildInputs = [ taglib exiv2 podofo ];
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ kconfig kinit kjsembed ]; propagatedBuildInputs = [ kconfig kinit kjsembed ];
};
in kdeWrapper {
inherit unwrapped;
targets = [ "bin/krename" ];
} }

View File

@ -1,13 +1,13 @@
{ {
mkDerivation, kdeWrapper, fetchurl, lib, mkDerivation, fetchurl, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kconfig, kinit, kparts kconfig, kinit, kparts
}: }:
let let
pname = "krusader"; pname = "krusader";
version = "2.6.0"; version = "2.6.0";
unwrapped = mkDerivation rec { in mkDerivation rec {
name = "krusader-${version}"; name = "krusader-${version}";
src = fetchurl { src = fetchurl {
@ -22,11 +22,6 @@ let
maintainers = with maintainers; [ sander ]; maintainers = with maintainers; [ sander ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ kconfig kinit kparts ]; propagatedBuildInputs = [ kconfig kinit kparts ];
};
in kdeWrapper {
inherit unwrapped;
targets = [ "bin/krusader" ];
} }

View File

@ -1,8 +1,8 @@
{ stdenv, lib, cmake, xorg, plasma-framework, fetchFromGitHub, kdeWrapper }: { mkDerivation, lib, cmake, xorg, plasma-framework, fetchFromGitHub }:
let version = "0.6.0"; let version = "0.6.0"; in
unwrapped = stdenv.mkDerivation { mkDerivation {
name = "latte-dock-${version}"; name = "latte-dock-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -16,18 +16,11 @@ let version = "0.6.0";
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
enableParallelBuilding = true; meta = with lib; {
meta = with stdenv.lib; {
description = "Dock-style app launcher based on Plasma frameworks"; description = "Dock-style app launcher based on Plasma frameworks";
homepage = https://github.com/psifidotos/Latte-Dock; homepage = https://github.com/psifidotos/Latte-Dock;
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = [ maintainers.benley ]; maintainers = [ maintainers.benley ];
}; };
};
in kdeWrapper {
inherit unwrapped;
targets = [ "bin/latte-dock" ];
} }

View File

@ -2,7 +2,7 @@
, lib , lib
, fetchurl , fetchurl
, kdoctools , kdoctools
, kdeWrapper , wrapGAppsHook
, extra-cmake-modules , extra-cmake-modules
, karchive , karchive
, kcrash , kcrash
@ -18,7 +18,6 @@
}: }:
let let
unwrapped = let
pname = "yakuake"; pname = "yakuake";
version = "3.0.3"; version = "3.0.3";
in mkDerivation rec { in mkDerivation rec {
@ -42,8 +41,23 @@ let
kwindowsystem kwindowsystem
]; ];
propagatedBuildInputs = [
karchive
kcrash
kdbusaddons
ki18n
kiconthemes
knewstuff
knotifications
knotifyconfig
kparts
kwindowsystem
];
propagatedUserEnvPkgs = [ konsole ];
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules kdoctools extra-cmake-modules kdoctools wrapGAppsHook
]; ];
meta = { meta = {
@ -51,13 +65,4 @@ let
description = "Quad-style terminal emulator for KDE"; description = "Quad-style terminal emulator for KDE";
maintainers = with lib.maintainers; [ fridh ]; maintainers = with lib.maintainers; [ fridh ];
}; };
};
in
kdeWrapper
{
inherit unwrapped;
targets = [ "bin/yakuake" ];
paths = [ konsole.unwrapped ];
} }

View File

@ -2,14 +2,14 @@
, lib , lib
, fetchurl , fetchurl
, extra-cmake-modules , extra-cmake-modules
, kdoctools
, wrapGAppsHook
, kbookmarks , kbookmarks
, karchive , karchive
, kconfig , kconfig
, kconfigwidgets , kconfigwidgets
, kcoreaddons , kcoreaddons
, kdbusaddons , kdbusaddons
, kdeWrapper
, kdoctools
, kemoticons , kemoticons
, kglobalaccel , kglobalaccel
, ki18n , ki18n
@ -28,7 +28,6 @@
}: }:
let let
unwrapped = let
pname = "konversation"; pname = "konversation";
version = "1.6.2"; version = "1.6.2";
in mkDerivation rec { in mkDerivation rec {
@ -66,6 +65,7 @@ let
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
wrapGAppsHook
]; ];
meta = { meta = {
@ -74,9 +74,4 @@ let
maintainers = with lib.maintainers; [ fridh ]; maintainers = with lib.maintainers; [ fridh ];
homepage = https://konversation.kde.org; homepage = https://konversation.kde.org;
}; };
};
in kdeWrapper {
inherit unwrapped;
targets = [ "bin/konversation" ];
} }

View File

@ -1,68 +0,0 @@
{ stdenv, lib, makeWrapper, buildEnv, gtk3, dconf }:
packages:
let
packages_ = if builtins.isList packages then packages else [packages];
unwrapped = lib.concatMap (p: if builtins.isList p.unwrapped then p.unwrapped else [p.unwrapped]) packages_;
targets = lib.concatMap (p: p.targets) packages_;
paths = lib.concatMap (p: p.paths or []) packages_;
name =
if builtins.length unwrapped == 1
then (lib.head unwrapped).name
else "kde-application";
meta =
if builtins.length unwrapped == 1
then (lib.head unwrapped).meta
else {};
env = buildEnv {
inherit name meta;
paths = builtins.map lib.getBin (unwrapped ++ paths);
pathsToLink = [ "/bin" "/share" "/lib/qt5" "/etc/xdg" ];
};
in
stdenv.mkDerivation {
inherit name meta;
preferLocalBuild = true;
inherit unwrapped env targets;
passthru = {
inherit targets paths;
unwrapped = if builtins.length unwrapped == 1 then lib.head unwrapped else unwrapped;
};
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''
for t in $targets; do
good=""
for drv in $unwrapped; do
if [ -a "$drv/$t" ]; then
makeWrapper "$drv/$t" "$out/$t" \
--argv0 '"$0"' \
--suffix PATH : "$env/bin" \
--prefix XDG_CONFIG_DIRS : "$env/etc/xdg" \
--prefix XDG_DATA_DIRS : "$env/share:${gtk3}/share/gsettings-schemas/${gtk3.name}" \
--prefix QML_IMPORT_PATH : "$env/lib/qt5/imports" \
--prefix QML2_IMPORT_PATH : "$env/lib/qt5/qml" \
--prefix QT_PLUGIN_PATH : "$env/lib/qt5/plugins" \
--prefix GIO_EXTRA_MODULES : "${dconf.lib}/lib/gio/modules"
good="1"
break
fi
done
if [ -z "$good" ]; then
echo "file or directory not found in derivations: $t"
exit 1
fi
done
mkdir -p "$out/nix-support"
echo "$unwrapped" > "$out/nix-support/propagated-user-env-packages"
'';
}

View File

@ -1,21 +1,15 @@
{ {
mkDerivation, kdeWrapper, mkDerivation,
extra-cmake-modules, extra-cmake-modules,
frameworkintegration, kcmutils, kcompletion, kconfig, kdecoration, kguiaddons, frameworkintegration, kcmutils, kcompletion, kconfig, kdecoration, kguiaddons,
ki18n, kwidgetsaddons, kservice, kwayland, kwindowsystem, qtx11extras ki18n, kwidgetsaddons, kservice, kwayland, kwindowsystem, qtx11extras
}: }:
let mkDerivation {
unwrapped = mkDerivation {
name = "oxygen"; name = "oxygen";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
propagatedBuildInputs = [ propagatedBuildInputs = [
frameworkintegration kcmutils kcompletion kconfig kdecoration kguiaddons frameworkintegration kcmutils kcompletion kconfig kdecoration kguiaddons
ki18n kservice kwayland kwidgetsaddons kwindowsystem qtx11extras ki18n kservice kwayland kwidgetsaddons kwindowsystem qtx11extras
]; ];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/oxygen-demo5" "bin/oxygen-settings5" ];
} }

View File

@ -1,13 +1,14 @@
{ {
mkDerivation, kdeWrapper, fetchurl, lib, mkDerivation, fetchurl, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
kconfig, kinit kconfig, kinit
}: }:
let let
pname = "kronometer"; pname = "kronometer";
version = "2.1.3"; version = "2.1.3";
unwrapped = mkDerivation rec { in
mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
@ -19,11 +20,6 @@ let
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ kconfig kinit ]; propagatedBuildInputs = [ kconfig kinit ];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/kronometer" ];
} }

View File

@ -1,11 +1,11 @@
{ mkDerivation, kdeWrapper, fetchurl, lib { mkDerivation, fetchurl, lib
, extra-cmake-modules, kdoctools , extra-cmake-modules, kdoctools, wrapGAppsHook
, kconfig, kinit, kpmcore , kconfig, kinit, kpmcore
, eject, libatasmart }: , eject, libatasmart }:
let let
pname = "partitionmanager"; pname = "partitionmanager";
unwrapped = mkDerivation rec { in mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
version = "3.0.1"; version = "3.0.1";
@ -19,13 +19,8 @@ let
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
# refer to kpmcore for the use of eject # refer to kpmcore for the use of eject
buildInputs = [ eject libatasmart ]; buildInputs = [ eject libatasmart ];
propagatedBuildInputs = [ kconfig kinit kpmcore ]; propagatedBuildInputs = [ kconfig kinit kpmcore ];
};
in kdeWrapper {
inherit unwrapped;
targets = [ "bin/partitionmanager" ];
} }

View File

@ -1,6 +1,6 @@
{ {
mkDerivation, kdeWrapper, fetchFromGitHub, fetchurl, lib, mkDerivation, fetchFromGitHub, fetchurl, lib,
extra-cmake-modules, kdoctools, extra-cmake-modules, kdoctools, wrapGAppsHook,
baloo, kconfig, kfilemetadata, kinit, kirigami, knewstuff, plasma-framework baloo, kconfig, kfilemetadata, kinit, kirigami, knewstuff, plasma-framework
}: }:
@ -13,7 +13,7 @@ let
rev = "d1be8c43a82a4320306c8e835a86fdb7b2574ca7"; rev = "d1be8c43a82a4320306c8e835a86fdb7b2574ca7";
sha256 = "03ds5da69zipa25rsp76l6xqivrh3wcgygwyqa5x2rgcz3rjnlpr"; sha256 = "03ds5da69zipa25rsp76l6xqivrh3wcgygwyqa5x2rgcz3rjnlpr";
}; };
unwrapped = mkDerivation rec { in mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
@ -21,7 +21,7 @@ let
sha256 = "1ik2627xynkichsq9x28rkczqn3l3p06q6vw5jdafdh3hisccmjq"; sha256 = "1ik2627xynkichsq9x28rkczqn3l3p06q6vw5jdafdh3hisccmjq";
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ baloo kconfig kfilemetadata kinit kirigami knewstuff plasma-framework ]; propagatedBuildInputs = [ baloo kconfig kfilemetadata kinit kirigami knewstuff plasma-framework ];
@ -37,9 +37,4 @@ let
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
}; };
};
in kdeWrapper {
inherit unwrapped;
targets = [ "bin/peruse" "bin/perusecreator" ];
} }

View File

@ -1,5 +1,5 @@
{ {
kdeDerivation, kdeWrapper, fetchurl, lib, mkDerivation, fetchurl, lib,
pkgconfig, pkgconfig,
kcoreaddons, ki18n, kwallet, kcoreaddons, ki18n, kwallet,
mksh mksh
@ -8,8 +8,8 @@
let let
pname = "kwalletcli"; pname = "kwalletcli";
version = "3.00"; version = "3.00";
in
unwrapped = kdeDerivation rec { mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
@ -34,6 +34,7 @@ let
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
# if using just kwallet, cmake will be added as a buildInput and fail the build # if using just kwallet, cmake will be added as a buildInput and fail the build
propagatedBuildInputs = [ kcoreaddons ki18n (lib.getLib kwallet) ]; propagatedBuildInputs = [ kcoreaddons ki18n (lib.getLib kwallet) ];
propagatedUserEnvPkgs = [ mksh ];
preInstall = '' preInstall = ''
mkdir -p $out/bin $out/share/man/man1 mkdir -p $out/bin $out/share/man/man1
@ -45,11 +46,4 @@ let
license = licenses.miros; license = licenses.miros;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
}; };
};
in kdeWrapper {
inherit unwrapped;
targets = map (b: "bin/" + b)
[ "kwalletaskpass" "kwalletcli" "kwalletcli_getpin" "pinentry-kwallet" ];
paths = [ mksh ];
} }

View File

@ -1,10 +1,10 @@
{ {
mkDerivation, lib, kdeWrapper, fetchgit, fetchpatch, mkDerivation, lib, fetchgit, fetchpatch,
extra-cmake-modules, kdoctools, kconfig, kinit, kparts extra-cmake-modules, kdoctools, wrapGAppsHook,
kconfig, kinit, kparts
}: }:
let mkDerivation rec {
unwrapped = mkDerivation rec {
name = "kdiff3-${version}"; name = "kdiff3-${version}";
version = "1.7.0-2017-02-19"; version = "1.7.0-2017-02-19";
@ -30,7 +30,7 @@ let
sed -re "s/(p\\[[^]]+] *== *)('([^']|\\\\')+')/\\1QChar(\\2)/g" -i src/diff.cpp sed -re "s/(p\\[[^]]+] *== *)('([^']|\\\\')+')/\\1QChar(\\2)/g" -i src/diff.cpp
''; '';
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ kconfig kinit kparts ]; propagatedBuildInputs = [ kconfig kinit kparts ];
@ -41,9 +41,4 @@ let
maintainers = with maintainers; [ viric peterhoeg ]; maintainers = with maintainers; [ viric peterhoeg ];
platforms = with platforms; linux; platforms = with platforms; linux;
}; };
};
in kdeWrapper {
inherit unwrapped;
targets = [ "bin/kdiff3" ];
} }

View File

@ -292,10 +292,6 @@ with pkgs;
inherit kernel rootModules allowMissing; inherit kernel rootModules allowMissing;
}; };
kdeWrapper = callPackage ../build-support/kde/wrapper.nix {
inherit (gnome3) dconf;
};
nixBufferBuilders = import ../build-support/emacs/buffer.nix { inherit (pkgs) lib writeText; inherit (emacsPackagesNg) inherit-local; }; nixBufferBuilders = import ../build-support/emacs/buffer.nix { inherit (pkgs) lib writeText; inherit (emacsPackagesNg) inherit-local; };
pathsFromGraph = ../build-support/kernel/paths-from-graph.pl; pathsFromGraph = ../build-support/kernel/paths-from-graph.pl;