Merge pull request #23239 from ttuegel/shuffle-kde
Organize KDE packages correctly
This commit is contained in:
commit
7ef26640f6
@ -2,67 +2,31 @@
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xml:id="sec-language-qt">
|
||||
|
||||
<title>Qt</title>
|
||||
<title>Qt and KDE</title>
|
||||
|
||||
<para>The information in this section applies to Qt 5.5 and later.</para>
|
||||
|
||||
<para>Qt is an application development toolkit for C++. Although it is
|
||||
not a distinct programming language, there are special considerations
|
||||
for packaging Qt-based programs and libraries. A small set of tools
|
||||
and conventions has grown out of these considerations.</para>
|
||||
<para>Qt is a comprehensive desktop and mobile application development toolkit for C++. Legacy support is available for Qt 3 and Qt 4, but all current development uses Qt 5. The Qt 5 packages in Nixpkgs are updated frequently to take advantage of new features, but older versions are typically retained to support packages that may not be compatible with the latest version. When packaging applications and libraries for Nixpkgs, it is important to ensure that compatible versions of Qt 5 are used throughout; this consideration motivates the tools described below.</para>
|
||||
|
||||
<section xml:id="ssec-qt-libraries"><title>Libraries</title>
|
||||
|
||||
<para>Packages that provide libraries should be listed in
|
||||
<varname>qt5LibsFun</varname> so that the library is built with each
|
||||
Qt version. A set of packages is provided for each version of Qt; for
|
||||
example, <varname>qt5Libs</varname> always provides libraries built
|
||||
with the latest version, <varname>qt55Libs</varname> provides
|
||||
libraries built with Qt 5.5, and so on. To avoid version conflicts, no
|
||||
top-level attributes are created for these packages.</para>
|
||||
<para>Libraries that depend on Qt 5 should be built with each available version to avoid linking a dependent package against incompatible versions of Qt 5. (Although Qt 5 maintains backward ABI compatibility, linking against multiple versions at once is generally not possible; at best it will lead to runtime faults.) Packages that provide libraries should be added to the top-level function <varname>mkLibsForQt5</varname>, which is used to build a set of libraries for every Qt 5 version. The <varname>callPackage</varname> provided in this scope will ensure that only one Qt version will be used throughout the dependency tree. Dependencies should be imported unqualified, i.e. <literal>qtbase</literal> not <literal>qt5.qtbase</literal>, so that <varname>callPackage</varname> can do its work. <emphasis>Do not</emphasis> import a package set such as <literal>qt5</literal> or <literal>libsForQt5</literal> into your package; although it may work fine in the moment, it could well break at the next Qt update.</para>
|
||||
|
||||
<para>If a library does not support a particular version of Qt 5, it is best to mark it as broken by setting its <literal>meta.broken</literal> attribute. A package may be marked broken for certain versions by testing the <literal>qtbase.version</literal> attribute, which will always give the current Qt 5 version.</para>
|
||||
|
||||
</section>
|
||||
|
||||
<section xml:id="ssec-qt-programs"><title>Programs</title>
|
||||
<section xml:id="ssec-qt-applications"><title>Applications</title>
|
||||
|
||||
<para>Application packages do not need to be built with every Qt
|
||||
version. To ensure consistency between the package's dependencies,
|
||||
call the package with <literal>qt5Libs.callPackage</literal> instead
|
||||
of the usual <literal>callPackage</literal>. An older version may be
|
||||
selected in case of incompatibility. For example, to build with Qt
|
||||
5.5, call the package with
|
||||
<literal>qt55Libs.callPackage</literal>.</para>
|
||||
<para>Applications generally do not need to be built with every Qt version because they do not provide any libraries for dependent packages to link against. The primary consideration is merely ensuring that the application itself and its dependencies are linked against only one version of Qt. To call your application expression, use <literal>libsForQt5.callPackage</literal> instead of <literal>callPackage</literal>. Dependencies should be imported unqualified, i.e. <literal>qtbase</literal> not <literal>qt5.qtbase</literal>. <emphasis>Do not</emphasis> import a package set such as <literal>qt5</literal> or <literal>libsForQt5</literal> into your package; although it may work fine in the moment, it could well break at the next Qt update.</para>
|
||||
|
||||
<para>Several environment variables must be set at runtime for Qt
|
||||
applications to function correctly, including:</para>
|
||||
<para>It is generally best to build an application package against the <varname>libsForQt5</varname> library set. In case a package does not build with the latest Qt version, it is possible to pick a set pinned to a particular version, e.g. <varname>libsForQt55</varname> for Qt 5.5, if that is the latest version the package supports.</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><para><envar>QT_PLUGIN_PATH</envar></para></listitem>
|
||||
<listitem><para><envar>QML_IMPORT_PATH</envar></para></listitem>
|
||||
<listitem><para><envar>QML2_IMPORT_PATH</envar></para></listitem>
|
||||
<listitem><para><envar>XDG_DATA_DIRS</envar></para></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>To ensure that these are set correctly, the program must be wrapped by
|
||||
invoking <literal>wrapQtProgram <replaceable>program</replaceable></literal>
|
||||
during installation (for example, during
|
||||
<literal>fixupPhase</literal>). <literal>wrapQtProgram</literal>
|
||||
accepts the same options as <literal>makeWrapper</literal>.
|
||||
</para>
|
||||
<para>Qt-based applications require that several paths be set at runtime. This is accomplished by wrapping the provided executables in a package with <literal>wrapQtProgram</literal> or <literal>makeQtWrapper</literal> during the <literal>postFixup</literal> phase. To use the wrapper generators, add <literal>makeQtWrapper</literal> to <literal>nativeBuildInputs</literal>. The wrapper generators support the same options as <literal>wrapProgram</literal> and <literal>makeWrapper</literal> respectively. It is usually only necessary to generate wrappers for programs intended to be invoked by the user.</para>
|
||||
|
||||
</section>
|
||||
|
||||
<section xml:id="ssec-qt-kde"><title>KDE</title>
|
||||
|
||||
<para>Many of the considerations above also apply to KDE packages,
|
||||
especially the need to set the correct environment variables at
|
||||
runtime. To ensure that this is done, invoke <literal>wrapKDEProgram
|
||||
<replaceable>program</replaceable></literal> during
|
||||
installation. <literal>wrapKDEProgram</literal> also generates a
|
||||
<literal>ksycoca</literal> database so that required data and services
|
||||
can be found. Like its Qt counterpart,
|
||||
<literal>wrapKDEProgram</literal> accepts the same options as
|
||||
<literal>makeWrapper</literal>.</para>
|
||||
<para>The KDE Frameworks are a set of libraries for Qt 5 which form the basis of the Plasma desktop environment and the KDE Applications suite. Packaging a Frameworks-based library does not require any steps beyond those described above for general Qt-based libraries. Frameworks-based applications should not use <literal>makeQtWrapper</literal>; instead, use <literal>kdeWrapper</literal> to create the necessary wrappers: <literal>kdeWrapper { unwrapped = <replaceable>expr</replaceable>; targets = <replaceable>exes</replaceable>; }</literal>, where <replaceable>expr</replaceable> is the un-wrapped package expression and <replaceable>exes</replaceable> is a list of strings giving the relative paths to programs in the package which should be wrapped.</para>
|
||||
|
||||
</section>
|
||||
|
||||
|
@ -177,9 +177,10 @@ rec {
|
||||
let self = f self // {
|
||||
newScope = scope: newScope (self // scope);
|
||||
callPackage = self.newScope {};
|
||||
override = g: makeScope newScope (self_:
|
||||
let super = f self_;
|
||||
in super // g super self_);
|
||||
override = g:
|
||||
makeScope newScope
|
||||
(self_: let super = f self_; in super // g super self_);
|
||||
packages = f;
|
||||
};
|
||||
in self;
|
||||
|
||||
|
@ -44,7 +44,7 @@ in
|
||||
panel = mkOption {
|
||||
type = with types; nullOr path;
|
||||
default = null;
|
||||
example = literalExample "''${pkgs.kde5.plasma-desktop}/lib/libexec/kimpanel-ibus-panel";
|
||||
example = literalExample "''${pkgs.plasma5.plasma-desktop}/lib/libexec/kimpanel-ibus-panel";
|
||||
description = "Replace the IBus panel with another panel.";
|
||||
};
|
||||
};
|
||||
|
@ -66,7 +66,7 @@ with lib;
|
||||
in ''
|
||||
mkdir -p /root/Desktop
|
||||
ln -sfT ${desktopFile} /root/Desktop/nixos-manual.desktop
|
||||
ln -sfT ${pkgs.kde5.konsole}/share/applications/org.kde.konsole.desktop /root/Desktop/org.kde.konsole.desktop
|
||||
ln -sfT ${pkgs.kdeApplications.konsole}/share/applications/org.kde.konsole.desktop /root/Desktop/org.kde.konsole.desktop
|
||||
ln -sfT ${pkgs.gparted}/share/applications/gparted.desktop /root/Desktop/gparted.desktop
|
||||
'';
|
||||
|
||||
|
@ -178,6 +178,9 @@ with lib;
|
||||
(mkRenamedOptionModule [ "services" "nfs" "lockdPort" ] [ "services" "nfs" "server" "lockdPort" ])
|
||||
(mkRenamedOptionModule [ "services" "nfs" "statdPort" ] [ "services" "nfs" "server" "statdPort" ])
|
||||
|
||||
# KDE Plasma 5
|
||||
(mkRenamedOptionModule [ "services" "xserver" "desktopManager" "kde5" ] [ "services" "xserver" "desktopManager" "plasma5" ])
|
||||
|
||||
# Options that are obsolete and have no replacement.
|
||||
(mkRemovedOptionModule [ "boot" "initrd" "luks" "enable" ] "")
|
||||
(mkRemovedOptionModule [ "programs" "bash" "enable" ] "")
|
||||
|
@ -280,8 +280,8 @@ let
|
||||
${optionalString cfg.pamMount
|
||||
"auth optional ${pkgs.pam_mount}/lib/security/pam_mount.so"}
|
||||
${optionalString cfg.enableKwallet
|
||||
("auth optional ${pkgs.kde5.kwallet-pam}/lib/security/pam_kwallet5.so" +
|
||||
" kwalletd=${pkgs.kde5.kwallet}/bin/kwalletd5")}
|
||||
("auth optional ${pkgs.plasma5.kwallet-pam}/lib/security/pam_kwallet5.so" +
|
||||
" kwalletd=${pkgs.libsForQt5.kwallet}/bin/kwalletd5")}
|
||||
'') + ''
|
||||
${optionalString cfg.unixAuth
|
||||
"auth sufficient pam_unix.so ${optionalString cfg.allowNullPassword "nullok"} likeauth try_first_pass"}
|
||||
@ -349,8 +349,8 @@ let
|
||||
${optionalString (cfg.enableAppArmor && config.security.apparmor.enable)
|
||||
"session optional ${pkgs.apparmor-pam}/lib/security/pam_apparmor.so order=user,group,default debug"}
|
||||
${optionalString (cfg.enableKwallet)
|
||||
("session optional ${pkgs.kde5.kwallet-pam}/lib/security/pam_kwallet5.so" +
|
||||
" kwalletd=${pkgs.kde5.kwallet}/bin/kwalletd5")}
|
||||
("session optional ${pkgs.plasma5.kwallet-pam}/lib/security/pam_kwallet5.so" +
|
||||
" kwalletd=${pkgs.libsForQt5.kwallet}/bin/kwalletd5")}
|
||||
'');
|
||||
};
|
||||
|
||||
|
@ -16,9 +16,9 @@ in
|
||||
{
|
||||
# Note: the order in which desktop manager modules are imported here
|
||||
# determines the default: later modules (if enabled) are preferred.
|
||||
# E.g., if KDE is enabled, it supersedes xterm.
|
||||
# E.g., if Plasma 5 is enabled, it supersedes xterm.
|
||||
imports = [
|
||||
./none.nix ./xterm.nix ./xfce.nix ./kde5.nix ./lumina.nix
|
||||
./none.nix ./xterm.nix ./xfce.nix ./plasma5.nix ./lumina.nix
|
||||
./lxqt.nix ./enlightenment.nix ./gnome3.nix ./kodi.nix
|
||||
];
|
||||
|
||||
|
@ -1,258 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
xcfg = config.services.xserver;
|
||||
cfg = xcfg.desktopManager.kde5;
|
||||
xorg = pkgs.xorg;
|
||||
|
||||
kde5 = pkgs.kde5;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
options = {
|
||||
|
||||
services.xserver.desktopManager.kde5 = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Enable the Plasma 5 (KDE 5) desktop environment.";
|
||||
};
|
||||
|
||||
enableQt4Support = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Enable support for Qt 4-based applications. Particularly, install the
|
||||
Qt 4 version of the Breeze theme and a default backend for Phonon.
|
||||
'';
|
||||
};
|
||||
|
||||
extraPackages = mkOption {
|
||||
type = types.listOf types.package;
|
||||
default = [];
|
||||
description = ''
|
||||
KDE packages that need to be installed system-wide.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
config = mkMerge [
|
||||
(mkIf (cfg.extraPackages != []) {
|
||||
environment.systemPackages = [ (kde5.kdeWrapper cfg.extraPackages) ];
|
||||
})
|
||||
|
||||
(mkIf (xcfg.enable && cfg.enable) {
|
||||
services.xserver.desktopManager.session = singleton {
|
||||
name = "kde5";
|
||||
bgSupport = true;
|
||||
start = ''
|
||||
# Load PulseAudio module for routing support.
|
||||
# See http://colin.guthr.ie/2009/10/so-how-does-the-kde-pulseaudio-support-work-anyway/
|
||||
${optionalString config.hardware.pulseaudio.enable ''
|
||||
${getBin config.hardware.pulseaudio.package}/bin/pactl load-module module-device-manager "do_routing=1"
|
||||
''}
|
||||
|
||||
exec "${kde5.startkde}"
|
||||
'';
|
||||
};
|
||||
|
||||
security.wrappers = {
|
||||
kcheckpass.source = "${kde5.plasma-workspace.out}/lib/libexec/kcheckpass";
|
||||
"start_kdeinit".source = "${kde5.kinit.out}/lib/libexec/kf5/start_kdeinit";
|
||||
};
|
||||
|
||||
environment.systemPackages =
|
||||
[
|
||||
kde5.frameworkintegration
|
||||
kde5.kactivities
|
||||
kde5.kauth
|
||||
kde5.kcmutils
|
||||
kde5.kconfig
|
||||
kde5.kconfigwidgets
|
||||
kde5.kcoreaddons
|
||||
kde5.kdbusaddons
|
||||
kde5.kdeclarative
|
||||
kde5.kded
|
||||
kde5.kdesu
|
||||
kde5.kdnssd
|
||||
kde5.kemoticons
|
||||
kde5.kfilemetadata
|
||||
kde5.kglobalaccel
|
||||
kde5.kguiaddons
|
||||
kde5.kiconthemes
|
||||
kde5.kidletime
|
||||
kde5.kimageformats
|
||||
kde5.kinit
|
||||
kde5.kio
|
||||
kde5.kjobwidgets
|
||||
kde5.knewstuff
|
||||
kde5.knotifications
|
||||
kde5.knotifyconfig
|
||||
kde5.kpackage
|
||||
kde5.kparts
|
||||
kde5.kpeople
|
||||
kde5.krunner
|
||||
kde5.kservice
|
||||
kde5.ktextwidgets
|
||||
kde5.kwallet
|
||||
kde5.kwallet-pam
|
||||
kde5.kwalletmanager
|
||||
kde5.kwayland
|
||||
kde5.kwidgetsaddons
|
||||
kde5.kxmlgui
|
||||
kde5.kxmlrpcclient
|
||||
kde5.plasma-framework
|
||||
kde5.solid
|
||||
kde5.sonnet
|
||||
kde5.threadweaver
|
||||
|
||||
kde5.breeze-qt5
|
||||
kde5.kactivitymanagerd
|
||||
kde5.kde-cli-tools
|
||||
kde5.kdecoration
|
||||
kde5.kdeplasma-addons
|
||||
kde5.kgamma5
|
||||
kde5.khotkeys
|
||||
kde5.kinfocenter
|
||||
kde5.kmenuedit
|
||||
kde5.kscreen
|
||||
kde5.kscreenlocker
|
||||
kde5.ksysguard
|
||||
kde5.kwayland
|
||||
kde5.kwin
|
||||
kde5.kwrited
|
||||
kde5.libkscreen
|
||||
kde5.libksysguard
|
||||
kde5.milou
|
||||
kde5.plasma-integration
|
||||
kde5.polkit-kde-agent
|
||||
kde5.systemsettings
|
||||
|
||||
kde5.plasma-desktop
|
||||
kde5.plasma-workspace
|
||||
kde5.plasma-workspace-wallpapers
|
||||
|
||||
kde5.dolphin-plugins
|
||||
kde5.ffmpegthumbs
|
||||
kde5.kdegraphics-thumbnailers
|
||||
kde5.kio-extras
|
||||
kde5.print-manager
|
||||
|
||||
# Install Breeze icons if available
|
||||
(kde5.breeze-icons or kde5.oxygen-icons5 or kde5.oxygen-icons)
|
||||
pkgs.hicolor_icon_theme
|
||||
|
||||
kde5.kde-gtk-config kde5.breeze-gtk
|
||||
|
||||
pkgs.qt5.phonon-backend-gstreamer
|
||||
]
|
||||
|
||||
# Plasma 5.5 and later has a Breeze GTK theme.
|
||||
# If it is not available, Orion is very similar to Breeze.
|
||||
++ lib.optional (!(lib.hasAttr "breeze-gtk" kde5)) pkgs.orion
|
||||
|
||||
# Install activity manager if available
|
||||
++ lib.optional (lib.hasAttr "kactivitymanagerd" kde5) kde5.kactivitymanagerd
|
||||
|
||||
# frameworkintegration was split with plasma-integration in Plasma 5.6
|
||||
++ lib.optional (lib.hasAttr "plasma-integration" kde5) kde5.plasma-integration
|
||||
|
||||
++ lib.optionals cfg.enableQt4Support [ kde5.breeze-qt4 pkgs.phonon-backend-gstreamer ]
|
||||
|
||||
# Optional hardware support features
|
||||
++ lib.optional config.hardware.bluetooth.enable kde5.bluedevil
|
||||
++ lib.optional config.networking.networkmanager.enable kde5.plasma-nm
|
||||
++ lib.optional config.hardware.pulseaudio.enable kde5.plasma-pa
|
||||
++ lib.optional config.powerManagement.enable kde5.powerdevil
|
||||
++ lib.optional config.services.colord.enable pkgs.colord-kde
|
||||
++ lib.optionals config.services.samba.enable [ kde5.kdenetwork-filesharing pkgs.samba ];
|
||||
|
||||
services.xserver.desktopManager.kde5.extraPackages =
|
||||
[
|
||||
kde5.khelpcenter
|
||||
kde5.oxygen
|
||||
|
||||
kde5.dolphin
|
||||
kde5.konsole
|
||||
];
|
||||
|
||||
environment.pathsToLink = [ "/share" ];
|
||||
|
||||
environment.etc = singleton {
|
||||
source = "${pkgs.xkeyboard_config}/etc/X11/xkb";
|
||||
target = "X11/xkb";
|
||||
};
|
||||
|
||||
environment.variables =
|
||||
{
|
||||
# Enable GTK applications to load SVG icons
|
||||
GST_PLUGIN_SYSTEM_PATH_1_0 =
|
||||
lib.makeSearchPath "/lib/gstreamer-1.0"
|
||||
(builtins.map (pkg: pkg.out) (with pkgs.gst_all_1; [
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
gst-plugins-ugly
|
||||
gst-plugins-bad
|
||||
gst-libav # for mp3 playback
|
||||
]));
|
||||
}
|
||||
// (if (lib.hasAttr "breeze-icons" kde5)
|
||||
then { GDK_PIXBUF_MODULE_FILE = "${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"; }
|
||||
else { });
|
||||
|
||||
fonts.fonts = [
|
||||
(kde5.oxygen-fonts or pkgs.noto-fonts)
|
||||
pkgs.hack-font
|
||||
];
|
||||
|
||||
programs.ssh.askPassword = "${kde5.ksshaskpass.out}/bin/ksshaskpass";
|
||||
|
||||
# Enable helpful DBus services.
|
||||
services.udisks2.enable = true;
|
||||
services.upower.enable = config.powerManagement.enable;
|
||||
services.dbus.packages =
|
||||
mkIf config.services.printing.enable [ pkgs.system-config-printer ];
|
||||
|
||||
# Extra UDEV rules used by Solid
|
||||
services.udev.packages = [
|
||||
pkgs.libmtp
|
||||
pkgs.media-player-info
|
||||
];
|
||||
|
||||
services.xserver.displayManager.sddm = {
|
||||
theme = "breeze";
|
||||
themes = [
|
||||
kde5.ecm # for the setup-hook
|
||||
kde5.plasma-workspace
|
||||
kde5.breeze-icons
|
||||
];
|
||||
};
|
||||
|
||||
security.pam.services.kde = { allowNullPassword = true; };
|
||||
|
||||
# Doing these one by one seems silly, but we currently lack a better
|
||||
# construct for handling common pam configs.
|
||||
security.pam.services.gdm.enableKwallet = true;
|
||||
security.pam.services.kdm.enableKwallet = true;
|
||||
security.pam.services.lightdm.enableKwallet = true;
|
||||
security.pam.services.sddm.enableKwallet = true;
|
||||
security.pam.services.slim.enableKwallet = true;
|
||||
|
||||
# use kimpanel as the default IBus panel
|
||||
i18n.inputMethod.ibus.panel =
|
||||
lib.mkDefault
|
||||
"${pkgs.kde5.plasma-desktop}/lib/libexec/kimpanel-ibus-panel";
|
||||
|
||||
})
|
||||
];
|
||||
|
||||
}
|
@ -32,8 +32,8 @@ in
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.fluxbox
|
||||
pkgs.kde5.kwindowsystem
|
||||
pkgs.kde5.oxygen-icons5
|
||||
pkgs.qt5.kwindowsystem
|
||||
pkgs.qt5.oxygen-icons5
|
||||
pkgs.lumina
|
||||
pkgs.numlockx
|
||||
pkgs.qt5.qtsvg
|
||||
|
241
nixos/modules/services/x11/desktop-managers/plasma5.nix
Normal file
241
nixos/modules/services/x11/desktop-managers/plasma5.nix
Normal file
@ -0,0 +1,241 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
xcfg = config.services.xserver;
|
||||
cfg = xcfg.desktopManager.plasma5;
|
||||
|
||||
inherit (pkgs) kdeWrapper kdeApplications plasma5 libsForQt5 qt5 xorg;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
options = {
|
||||
|
||||
services.xserver.desktopManager.plasma5 = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Enable the Plasma 5 (KDE 5) desktop environment.";
|
||||
};
|
||||
|
||||
enableQt4Support = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Enable support for Qt 4-based applications. Particularly, install the
|
||||
Qt 4 version of the Breeze theme and a default backend for Phonon.
|
||||
'';
|
||||
};
|
||||
|
||||
extraPackages = mkOption {
|
||||
type = types.listOf types.package;
|
||||
default = [];
|
||||
description = ''
|
||||
KDE packages that need to be installed system-wide.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
config = mkMerge [
|
||||
(mkIf (cfg.extraPackages != []) {
|
||||
environment.systemPackages = [ (kdeWrapper cfg.extraPackages) ];
|
||||
})
|
||||
|
||||
(mkIf (xcfg.enable && cfg.enable) {
|
||||
services.xserver.desktopManager.session = singleton {
|
||||
name = "plasma5";
|
||||
bgSupport = true;
|
||||
start = ''
|
||||
# Load PulseAudio module for routing support.
|
||||
# See http://colin.guthr.ie/2009/10/so-how-does-the-kde-pulseaudio-support-work-anyway/
|
||||
${optionalString config.hardware.pulseaudio.enable ''
|
||||
${getBin config.hardware.pulseaudio.package}/bin/pactl load-module module-device-manager "do_routing=1"
|
||||
''}
|
||||
|
||||
exec "${plasma5.startkde}"
|
||||
'';
|
||||
};
|
||||
|
||||
security.wrappers = {
|
||||
kcheckpass.source = "${plasma5.plasma-workspace.out}/lib/libexec/kcheckpass";
|
||||
"start_kdeinit".source = "${pkgs.kinit.out}/lib/libexec/kf5/start_kdeinit";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; with qt5; with libsForQt5; with plasma5; with kdeApplications;
|
||||
[
|
||||
frameworkintegration
|
||||
kactivities
|
||||
kauth
|
||||
kcmutils
|
||||
kconfig
|
||||
kconfigwidgets
|
||||
kcoreaddons
|
||||
kdbusaddons
|
||||
kdeclarative
|
||||
kded
|
||||
kdesu
|
||||
kdnssd
|
||||
kemoticons
|
||||
kfilemetadata
|
||||
kglobalaccel
|
||||
kguiaddons
|
||||
kiconthemes
|
||||
kidletime
|
||||
kimageformats
|
||||
kinit
|
||||
kio
|
||||
kjobwidgets
|
||||
knewstuff
|
||||
knotifications
|
||||
knotifyconfig
|
||||
kpackage
|
||||
kparts
|
||||
kpeople
|
||||
krunner
|
||||
kservice
|
||||
ktextwidgets
|
||||
kwallet
|
||||
kwallet-pam
|
||||
kwalletmanager
|
||||
kwayland
|
||||
kwidgetsaddons
|
||||
kxmlgui
|
||||
kxmlrpcclient
|
||||
plasma-framework
|
||||
solid
|
||||
sonnet
|
||||
threadweaver
|
||||
|
||||
breeze-qt5
|
||||
kactivitymanagerd
|
||||
kde-cli-tools
|
||||
kdecoration
|
||||
kdeplasma-addons
|
||||
kgamma5
|
||||
khotkeys
|
||||
kinfocenter
|
||||
kmenuedit
|
||||
kscreen
|
||||
kscreenlocker
|
||||
ksysguard
|
||||
kwayland
|
||||
kwin
|
||||
kwrited
|
||||
libkscreen
|
||||
libksysguard
|
||||
milou
|
||||
plasma-integration
|
||||
polkit-kde-agent
|
||||
systemsettings
|
||||
|
||||
plasma-desktop
|
||||
plasma-workspace
|
||||
plasma-workspace-wallpapers
|
||||
|
||||
dolphin-plugins
|
||||
ffmpegthumbs
|
||||
kdegraphics-thumbnailers
|
||||
kio-extras
|
||||
print-manager
|
||||
|
||||
breeze-icons
|
||||
pkgs.hicolor_icon_theme
|
||||
|
||||
kde-gtk-config breeze-gtk
|
||||
|
||||
phonon-backend-gstreamer
|
||||
]
|
||||
|
||||
++ lib.optionals cfg.enableQt4Support [ breeze-qt4 pkgs.phonon-backend-gstreamer ]
|
||||
|
||||
# Optional hardware support features
|
||||
++ lib.optional config.hardware.bluetooth.enable bluedevil
|
||||
++ lib.optional config.networking.networkmanager.enable plasma-nm
|
||||
++ lib.optional config.hardware.pulseaudio.enable plasma-pa
|
||||
++ lib.optional config.powerManagement.enable powerdevil
|
||||
++ lib.optional config.services.colord.enable colord-kde
|
||||
++ 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.etc = singleton {
|
||||
source = "${pkgs.xkeyboard_config}/etc/X11/xkb";
|
||||
target = "X11/xkb";
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
# Enable GTK applications to load SVG icons
|
||||
GST_PLUGIN_SYSTEM_PATH_1_0 =
|
||||
lib.makeSearchPath "/lib/gstreamer-1.0"
|
||||
(builtins.map (pkg: pkg.out) (with pkgs.gst_all_1; [
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
gst-plugins-ugly
|
||||
gst-plugins-bad
|
||||
gst-libav # for mp3 playback
|
||||
]));
|
||||
GDK_PIXBUF_MODULE_FILE = "${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache";
|
||||
};
|
||||
|
||||
fonts.fonts = with pkgs; [ noto-fonts hack-font ];
|
||||
|
||||
programs.ssh.askPassword = "${plasma5.ksshaskpass.out}/bin/ksshaskpass";
|
||||
|
||||
# Enable helpful DBus services.
|
||||
services.udisks2.enable = true;
|
||||
services.upower.enable = config.powerManagement.enable;
|
||||
services.dbus.packages =
|
||||
mkIf config.services.printing.enable [ pkgs.system-config-printer ];
|
||||
|
||||
# Extra UDEV rules used by Solid
|
||||
services.udev.packages = [
|
||||
pkgs.libmtp
|
||||
pkgs.media-player-info
|
||||
];
|
||||
|
||||
services.xserver.displayManager.sddm = {
|
||||
theme = "breeze";
|
||||
themes = [
|
||||
pkgs.extra-cmake-modules # for the setup-hook
|
||||
plasma5.plasma-workspace
|
||||
pkgs.breeze-icons
|
||||
];
|
||||
};
|
||||
|
||||
security.pam.services.kde = { allowNullPassword = true; };
|
||||
|
||||
# Doing these one by one seems silly, but we currently lack a better
|
||||
# construct for handling common pam configs.
|
||||
security.pam.services.gdm.enableKwallet = true;
|
||||
security.pam.services.kdm.enableKwallet = true;
|
||||
security.pam.services.lightdm.enableKwallet = true;
|
||||
security.pam.services.sddm.enableKwallet = true;
|
||||
security.pam.services.slim.enableKwallet = true;
|
||||
|
||||
# use kimpanel as the default IBus panel
|
||||
i18n.inputMethod.ibus.panel =
|
||||
lib.mkDefault
|
||||
"${plasma5.plasma-desktop}/lib/libexec/kimpanel-ibus-panel";
|
||||
|
||||
})
|
||||
];
|
||||
|
||||
}
|
@ -6,7 +6,7 @@
|
||||
gcc,
|
||||
ginac,
|
||||
jamomacore,
|
||||
kde5,
|
||||
kdnssd,
|
||||
libsndfile,
|
||||
ninja,
|
||||
portaudio,
|
||||
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
ginac
|
||||
gcc
|
||||
jamomacore
|
||||
kde5.kdnssd
|
||||
kdnssd
|
||||
libsndfile
|
||||
ninja
|
||||
portaudio
|
||||
|
@ -1,28 +1,68 @@
|
||||
{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
|
||||
, shared_mime_info, kdelibs
|
||||
{ kdeDerivation
|
||||
, lib
|
||||
, fetchgit
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, kdeWrapper
|
||||
, qtscript
|
||||
, kconfig
|
||||
, kcrash
|
||||
, kdbusaddons
|
||||
, kdelibs4support
|
||||
, kguiaddons
|
||||
, kiconthemes
|
||||
, kinit
|
||||
, khtml
|
||||
, konsole
|
||||
, kparts
|
||||
, ktexteditor
|
||||
, kwindowsystem
|
||||
, poppler
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "kile-2.1.3";
|
||||
let
|
||||
unwrapped =
|
||||
kdeDerivation rec {
|
||||
name = "kile-${version}";
|
||||
version = "2017-02-09";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/kile/${name}.tar.bz2";
|
||||
sha256 = "18nfi37s46v9xav7vyki3phasddgcy4m7nywzxis198vr97yqqx0";
|
||||
};
|
||||
src = fetchgit {
|
||||
url = git://anongit.kde.org/kile.git;
|
||||
rev = "f77f6e627487c152f111e307ad6dc71699ade746";
|
||||
sha256 = "0wpqaix9ssa28cm7qqjj0zfrscjgk8s3kmi5b4kk8h583gsrikib";
|
||||
|
||||
nativeBuildInputs = [
|
||||
automoc4 cmake gettext perl pkgconfig shared_mime_info
|
||||
];
|
||||
buildInputs = [ kdelibs ];
|
||||
};
|
||||
|
||||
# for KDE 4.7 the nl translations fail since kile-2.1.2
|
||||
preConfigure = "rm -r translations/nl";
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
|
||||
meta = {
|
||||
description = "An integrated LaTeX editor for KDE";
|
||||
homepage = http://kile.sourceforge.net;
|
||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
inherit (kdelibs.meta) platforms;
|
||||
};
|
||||
buildInputs = [
|
||||
kconfig
|
||||
kcrash
|
||||
kdbusaddons
|
||||
kdelibs4support
|
||||
kdoctools
|
||||
kguiaddons
|
||||
kiconthemes
|
||||
kinit
|
||||
khtml
|
||||
kparts
|
||||
ktexteditor
|
||||
kwindowsystem
|
||||
poppler
|
||||
qtscript
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Kile is a user friendly TeX/LaTeX authoring tool for the KDE desktop environment";
|
||||
homepage = https://www.kde.org/applications/office/kile/;
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
};
|
||||
in
|
||||
kdeWrapper
|
||||
{
|
||||
inherit unwrapped;
|
||||
targets = [ "bin/kile" ];
|
||||
paths = [ konsole.unwrapped ];
|
||||
}
|
||||
|
@ -1,68 +0,0 @@
|
||||
{ kdeDerivation
|
||||
, lib
|
||||
, fetchgit
|
||||
, ecm
|
||||
, kdoctools
|
||||
, kdeWrapper
|
||||
, qtscript
|
||||
, kconfig
|
||||
, kcrash
|
||||
, kdbusaddons
|
||||
, kdelibs4support
|
||||
, kguiaddons
|
||||
, kiconthemes
|
||||
, kinit
|
||||
, khtml
|
||||
, konsole
|
||||
, kparts
|
||||
, ktexteditor
|
||||
, kwindowsystem
|
||||
, poppler
|
||||
}:
|
||||
|
||||
let
|
||||
unwrapped =
|
||||
kdeDerivation rec {
|
||||
name = "kile-${version}";
|
||||
version = "2017-02-09";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://anongit.kde.org/kile.git;
|
||||
rev = "f77f6e627487c152f111e307ad6dc71699ade746";
|
||||
sha256 = "0wpqaix9ssa28cm7qqjj0zfrscjgk8s3kmi5b4kk8h583gsrikib";
|
||||
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
|
||||
buildInputs = [
|
||||
kconfig
|
||||
kcrash
|
||||
kdbusaddons
|
||||
kdelibs4support
|
||||
kdoctools
|
||||
kguiaddons
|
||||
kiconthemes
|
||||
kinit
|
||||
khtml
|
||||
kparts
|
||||
ktexteditor
|
||||
kwindowsystem
|
||||
poppler
|
||||
qtscript
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Kile is a user friendly TeX/LaTeX authoring tool for the KDE desktop environment";
|
||||
homepage = https://www.kde.org/applications/office/kile/;
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
};
|
||||
in
|
||||
kdeWrapper
|
||||
{
|
||||
inherit unwrapped;
|
||||
targets = [ "bin/kile" ];
|
||||
paths = [ konsole.unwrapped ];
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, ecm, makeQtWrapper
|
||||
{ stdenv, fetchurl, cmake, extra-cmake-modules, makeQtWrapper
|
||||
|
||||
# For `digitaglinktree`
|
||||
, perl, sqlite
|
||||
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0dgsgji14l5zvxny36hrfsp889fsfrsbbn9bg57m18404xp903kg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ecm makeQtWrapper ];
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules makeQtWrapper ];
|
||||
|
||||
patches = [ ./0001-Disable-fno-operator-names.patch ];
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
stdenv, fetchurl,
|
||||
ecm,
|
||||
extra-cmake-modules,
|
||||
karchive, kconfig, ki18n, kiconthemes, kio, kservice, kwindowsystem, kxmlgui,
|
||||
libkipi, qtbase, qtsvg, qtxmlpatterns
|
||||
}:
|
||||
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
cd extra/kipi-plugins
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [
|
||||
karchive kconfig ki18n kiconthemes kio kservice kwindowsystem kxmlgui libkipi
|
||||
qtbase qtsvg qtxmlpatterns
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib,
|
||||
ecm,
|
||||
extra-cmake-modules,
|
||||
akonadi-mime, grantlee, kcontacts, kio, kitemmodels, kmime, qtwebengine,
|
||||
akonadi
|
||||
}:
|
||||
@ -11,7 +11,7 @@ kdeApp {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [
|
||||
akonadi-mime grantlee kcontacts kio kitemmodels kmime qtwebengine
|
||||
];
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib,
|
||||
ecm,
|
||||
extra-cmake-modules,
|
||||
akonadi, kdbusaddons, kio, kitemmodels, kmime
|
||||
}:
|
||||
|
||||
@ -10,6 +10,6 @@ kdeApp {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ akonadi kdbusaddons kio kitemmodels kmime ];
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib,
|
||||
ecm,
|
||||
extra-cmake-modules,
|
||||
kcompletion, kconfigwidgets, kdbusaddons, kdesignerplugin, kiconthemes,
|
||||
kio,
|
||||
boost, kitemmodels
|
||||
@ -12,7 +12,7 @@ kdeApp {
|
||||
license = [ lib.licenses.lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [
|
||||
kcompletion kconfigwidgets kdbusaddons kdesignerplugin kiconthemes kio
|
||||
];
|
@ -1,13 +1,16 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
kdeApp, lib, config, kdeWrapper,
|
||||
|
||||
ecm, kdoctools, makeWrapper,
|
||||
extra-cmake-modules, kdoctools, makeWrapper,
|
||||
|
||||
karchive, kconfig, kcrash, kdbusaddons, ki18n, kiconthemes, khtml, kio,
|
||||
kservice, kpty, kwidgetsaddons, libarchive,
|
||||
|
||||
# Archive tools
|
||||
p7zip, unrar, unzipNLS, zip
|
||||
p7zip, unzipNLS, zip,
|
||||
|
||||
# Unfree tools
|
||||
unfreeEnableUnrar ? false, unrar,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -15,7 +18,7 @@ let
|
||||
kdeApp {
|
||||
name = "ark";
|
||||
nativeBuildInputs = [
|
||||
ecm kdoctools makeWrapper
|
||||
extra-cmake-modules kdoctools makeWrapper
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice
|
||||
@ -23,15 +26,16 @@ let
|
||||
];
|
||||
postInstall =
|
||||
let
|
||||
PATH = lib.makeBinPath [
|
||||
p7zip unrar unzipNLS zip
|
||||
];
|
||||
PATH =
|
||||
lib.makeBinPath
|
||||
([ p7zip unzipNLS zip ] ++ lib.optional unfreeEnableUnrar unrar);
|
||||
in ''
|
||||
wrapProgram "$out/bin/ark" \
|
||||
--prefix PATH : "${PATH}"
|
||||
'';
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 lgpl3 ];
|
||||
license = with lib.licenses;
|
||||
[ gpl2 lgpl3 ] ++ lib.optional unfreeEnableUnrar unfree;
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
};
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
baloo, kconfig, kdelibs4support, kfilemetadata, ki18n, kio, kservice
|
||||
}:
|
||||
|
||||
@ -10,7 +10,7 @@ kdeApp {
|
||||
license = [ lib.licenses.lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
baloo kconfig kdelibs4support kfilemetadata ki18n kio kservice
|
||||
];
|
93
pkgs/applications/kde/default.nix
Normal file
93
pkgs/applications/kde/default.nix
Normal file
@ -0,0 +1,93 @@
|
||||
/*
|
||||
|
||||
# New packages
|
||||
|
||||
READ THIS FIRST
|
||||
|
||||
This module is for official packages in the KDE Applications Bundle. All
|
||||
available packages are listed in `./srcs.nix`, although some are not yet
|
||||
packaged in Nixpkgs (see below).
|
||||
|
||||
IF YOUR PACKAGE IS NOT LISTED IN `./srcs.nix`, IT DOES NOT GO HERE.
|
||||
|
||||
Many of the packages released upstream are not yet built in Nixpkgs due to lack
|
||||
of demand. To add a Nixpkgs build for an upstream package, copy one of the
|
||||
existing packages here and modify it as necessary. A simple example package that
|
||||
still shows most of the available features is in `./gwenview.nix`.
|
||||
|
||||
# Updates
|
||||
|
||||
1. Update the URL in `./fetch.sh`.
|
||||
2. Run `./maintainers/scripts/fetch-kde-qt.sh pkgs/desktops/kde-5/applications`
|
||||
from the top of the Nixpkgs tree.
|
||||
3. Use `nox-review wip` to check that everything builds.
|
||||
4. Commit the changes and open a pull request.
|
||||
|
||||
*/
|
||||
|
||||
{
|
||||
stdenv, lib, libsForQt5, fetchurl, recurseIntoAttrs,
|
||||
kdeDerivation, plasma5,
|
||||
attica, phonon,
|
||||
debug ? false,
|
||||
}:
|
||||
|
||||
let
|
||||
mirror = "mirror://kde";
|
||||
srcs = import ./srcs.nix { inherit fetchurl mirror; };
|
||||
in
|
||||
|
||||
let
|
||||
|
||||
packages = self: with self;
|
||||
let
|
||||
callPackage = self.newScope {
|
||||
kdeApp = import ./build-support/application.nix {
|
||||
inherit lib kdeDerivation;
|
||||
inherit debug srcs;
|
||||
};
|
||||
};
|
||||
in {
|
||||
kdelibs = callPackage ./kdelibs { inherit attica phonon; };
|
||||
akonadi = callPackage ./akonadi.nix {};
|
||||
akonadi-contacts = callPackage ./akonadi-contacts.nix {};
|
||||
akonadi-mime = callPackage ./akonadi-mime.nix {};
|
||||
ark = callPackage ./ark/default.nix {};
|
||||
baloo-widgets = callPackage ./baloo-widgets.nix {};
|
||||
dolphin = callPackage ./dolphin.nix {};
|
||||
dolphin-plugins = callPackage ./dolphin-plugins.nix {};
|
||||
ffmpegthumbs = callPackage ./ffmpegthumbs.nix { };
|
||||
filelight = callPackage ./filelight.nix {};
|
||||
gwenview = callPackage ./gwenview.nix {};
|
||||
kate = callPackage ./kate.nix {};
|
||||
kdenlive = callPackage ./kdenlive.nix {};
|
||||
kcalc = callPackage ./kcalc.nix {};
|
||||
kcolorchooser = callPackage ./kcolorchooser.nix {};
|
||||
kcontacts = callPackage ./kcontacts.nix {};
|
||||
kdegraphics-mobipocket = callPackage ./kdegraphics-mobipocket.nix {};
|
||||
kdegraphics-thumbnailers = callPackage ./kdegraphics-thumbnailers.nix {};
|
||||
kdenetwork-filesharing = callPackage ./kdenetwork-filesharing.nix {};
|
||||
kdf = callPackage ./kdf.nix {};
|
||||
kgpg = callPackage ./kgpg.nix {};
|
||||
khelpcenter = callPackage ./khelpcenter.nix {};
|
||||
kig = callPackage ./kig.nix {};
|
||||
kio-extras = callPackage ./kio-extras.nix {};
|
||||
kmime = callPackage ./kmime.nix {};
|
||||
kmix = callPackage ./kmix.nix {};
|
||||
kompare = callPackage ./kompare.nix {};
|
||||
konsole = callPackage ./konsole.nix {};
|
||||
kwalletmanager = callPackage ./kwalletmanager.nix {};
|
||||
libkdcraw = callPackage ./libkdcraw.nix {};
|
||||
libkexiv2 = callPackage ./libkexiv2.nix {};
|
||||
libkipi = callPackage ./libkipi.nix {};
|
||||
libkomparediff2 = callPackage ./libkomparediff2.nix {};
|
||||
marble = callPackage ./marble.nix {};
|
||||
okteta = callPackage ./okteta.nix {};
|
||||
okular = callPackage ./okular.nix {};
|
||||
print-manager = callPackage ./print-manager.nix {};
|
||||
spectacle = callPackage ./spectacle.nix {};
|
||||
|
||||
l10n = recurseIntoAttrs (import ./l10n.nix { inherit callPackage lib recurseIntoAttrs; });
|
||||
};
|
||||
|
||||
in lib.makeScope libsForQt5.newScope packages
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
dolphin, kdelibs4support, ki18n, kio, kxmlgui
|
||||
}:
|
||||
|
||||
@ -10,7 +10,7 @@ kdeApp {
|
||||
license = [ lib.licenses.gpl2 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
dolphin.unwrapped kdelibs4support ki18n kio kxmlgui
|
||||
];
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools, makeQtWrapper,
|
||||
extra-cmake-modules, kdoctools, makeQtWrapper,
|
||||
baloo, baloo-widgets, dolphin-plugins, kactivities, kbookmarks, kcmutils,
|
||||
kcompletion, kconfig, kcoreaddons, kdelibs4support, kdbusaddons,
|
||||
kfilemetadata, ki18n, kiconthemes, kinit, kio, knewstuff, knotifications,
|
||||
@ -15,7 +15,7 @@ let
|
||||
license = with lib.licenses; [ gpl2 fdl12 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
||||
propagatedBuildInputs = [
|
||||
baloo baloo-widgets kactivities kbookmarks kcmutils kcompletion kconfig
|
||||
kcoreaddons kdelibs4support kdbusaddons kfilemetadata ki18n kiconthemes
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib,
|
||||
ecm,
|
||||
extra-cmake-modules,
|
||||
ffmpeg, kio
|
||||
}:
|
||||
|
||||
@ -10,6 +10,6 @@ kdeApp {
|
||||
license = with lib.licenses; [ gpl2 bsd3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [ ffmpeg kio ];
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
kio, kparts, kxmlgui, qtscript, solid
|
||||
}:
|
||||
|
||||
@ -12,7 +12,7 @@ let
|
||||
license = with lib.licenses; [ gpl2 ];
|
||||
maintainers = with lib.maintainers; [ fridh vcunat ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
kio kparts kxmlgui qtscript solid
|
||||
];
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
baloo, exiv2, kactivities, kdelibs4support, kio, kipi-plugins, lcms2,
|
||||
libkdcraw, libkipi, phonon, qtimageformats, qtsvg, qtx11extras
|
||||
}:
|
||||
@ -13,7 +13,7 @@ let
|
||||
license = with lib.licenses; [ gpl2 fdl12 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
baloo kactivities kdelibs4support kio exiv2 lcms2 libkdcraw
|
||||
libkipi phonon qtimageformats qtsvg qtx11extras
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
kactivities, kconfig, kcrash, kdbusaddons, kguiaddons, kiconthemes, ki18n,
|
||||
kinit, kio, kitemmodels, kjobwidgets, knewstuff, knotifications, konsole,
|
||||
kparts, ktexteditor, kwindowsystem, kwallet, kxmlgui, libgit2,
|
||||
@ -15,7 +15,7 @@ let
|
||||
license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
kactivities ki18n kio ktexteditor kwindowsystem plasma-framework
|
||||
qtscript kconfig kcrash kguiaddons kiconthemes kinit kjobwidgets kparts
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
kconfig, kconfigwidgets, kguiaddons, kinit, knotifications, gmp
|
||||
}:
|
||||
|
||||
@ -12,7 +12,7 @@ let
|
||||
license = with lib.licenses; [ gpl2 ];
|
||||
maintainers = [ lib.maintainers.fridh ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
gmp kconfig kconfigwidgets kguiaddons kinit knotifications
|
||||
];
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, ki18n, kwidgetsaddons, kxmlgui
|
||||
extra-cmake-modules, ki18n, kwidgetsaddons, kxmlgui
|
||||
}:
|
||||
|
||||
let
|
||||
@ -11,7 +11,7 @@ let
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [ ki18n kwidgetsaddons kxmlgui ];
|
||||
};
|
||||
in
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib,
|
||||
ecm, ki18n,
|
||||
extra-cmake-modules, ki18n,
|
||||
kcoreaddons, kconfig, kcodecs
|
||||
}:
|
||||
|
||||
@ -10,6 +10,6 @@ kdeApp {
|
||||
license = [ lib.licenses.lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ki18n ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ki18n ];
|
||||
buildInputs = [ kcoreaddons kconfig kcodecs ];
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
name: args:
|
||||
|
||||
{ kdeApp, cmake, ecm, gettext, kdoctools }:
|
||||
{ kdeApp, cmake, extra-cmake-modules, gettext, kdoctools }:
|
||||
|
||||
kdeApp (args // {
|
||||
sname = "kde-l10n-${name}";
|
||||
@ -9,7 +9,7 @@ kdeApp (args // {
|
||||
outputs = [ "out" ];
|
||||
|
||||
nativeBuildInputs =
|
||||
[ cmake ecm gettext kdoctools ]
|
||||
[ cmake extra-cmake-modules gettext kdoctools ]
|
||||
++ (args.nativeBuildInputs or []);
|
||||
|
||||
preConfigure = ''
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib,
|
||||
ecm,
|
||||
extra-cmake-modules,
|
||||
kio
|
||||
}:
|
||||
|
||||
@ -10,6 +10,6 @@ kdeApp {
|
||||
license = [ lib.licenses.gpl2Plus ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ kio ];
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib,
|
||||
ecm, kio, libkexiv2, libkdcraw
|
||||
extra-cmake-modules, kio, libkexiv2, libkdcraw
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
@ -9,6 +9,6 @@ kdeApp {
|
||||
license = [ lib.licenses.lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [ kio libkexiv2 libkdcraw ];
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
kdeApp, lib, src, version,
|
||||
kdeApp, lib,
|
||||
automoc4, bison, cmake, flex, libxslt, perl, pkgconfig, shared_mime_info,
|
||||
attica, attr, avahi, docbook_xml_dtd_42, docbook_xsl, giflib, ilmbase,
|
||||
libdbusmenu_qt, libjpeg, libxml2, phonon, polkit_qt4, qca2, qt4,
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
kcoreaddons, ki18n, kio, kwidgetsaddons, samba
|
||||
}:
|
||||
|
||||
@ -10,6 +10,6 @@ kdeApp {
|
||||
license = [ lib.licenses.gpl2 lib.licenses.lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [ kcoreaddons ki18n kio kwidgetsaddons samba ];
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
kcmutils
|
||||
}:
|
||||
|
||||
@ -12,7 +12,7 @@ let
|
||||
license = with lib.licenses; [ gpl2 ];
|
||||
maintainers = [ lib.maintainers.peterhoeg ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
kcmutils
|
||||
];
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib,
|
||||
ecm, kdoctools, ki18n,
|
||||
extra-cmake-modules, kdoctools, ki18n,
|
||||
akonadi-contacts, gpgme, karchive, kcodecs, kcontacts, kcoreaddons, kcrash,
|
||||
kdbusaddons, kiconthemes, kjobwidgets, kio, knotifications, kservice,
|
||||
ktextwidgets, kxmlgui, kwidgetsaddons, kwindowsystem
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
kdeApp {
|
||||
name = "kgpg";
|
||||
nativeBuildInputs = [ ecm kdoctools ki18n ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ki18n ];
|
||||
buildInputs = [
|
||||
akonadi-contacts gpgme karchive kcodecs kcontacts kcoreaddons kcrash kdbusaddons
|
||||
kiconthemes kjobwidgets kio knotifications kservice ktextwidgets kxmlgui
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
grantlee, kconfig, kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils,
|
||||
kdelibs4support, khtml, kservice, xapian
|
||||
}:
|
||||
@ -9,7 +9,7 @@ let
|
||||
unwrapped =
|
||||
kdeApp {
|
||||
name = "khelpcenter";
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
buildInputs = [
|
||||
grantlee kdelibs4support khtml ki18n kconfig kcoreaddons kdbusaddons
|
||||
kinit kcmutils kservice xapian
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper
|
||||
, ecm, kdoctools, kparts
|
||||
, extra-cmake-modules, kdoctools, kparts
|
||||
, qtsvg, qtxmlpatterns, ktexteditor, boost
|
||||
}:
|
||||
|
||||
@ -12,7 +12,7 @@ let
|
||||
license = with lib.licenses; [ gpl2 ];
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
buildInputs = [
|
||||
kparts qtsvg qtxmlpatterns ktexteditor boost
|
||||
];
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
kdeApp, lib, ecm, kdoctools, shared_mime_info,
|
||||
kdeApp, lib, extra-cmake-modules, kdoctools, shared_mime_info,
|
||||
exiv2, kactivities, karchive, kbookmarks, kconfig, kconfigwidgets,
|
||||
kcoreaddons, kdbusaddons, kguiaddons, kdnssd, kiconthemes, ki18n, kio, khtml,
|
||||
kdelibs4support, kpty, libmtp, libssh, openexr, ilmbase, openslp, phonon,
|
||||
@ -12,7 +12,7 @@ kdeApp {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools shared_mime_info ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools shared_mime_info ];
|
||||
propagatedBuildInputs = [
|
||||
exiv2 kactivities karchive kbookmarks kconfig kconfigwidgets kcoreaddons
|
||||
kdbusaddons kguiaddons kdnssd kiconthemes ki18n kio khtml kdelibs4support
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib,
|
||||
ecm, ki18n,
|
||||
extra-cmake-modules, ki18n,
|
||||
kcodecs
|
||||
}:
|
||||
|
||||
@ -10,6 +10,6 @@ kdeApp {
|
||||
license = [ lib.licenses.lgpl21 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ki18n ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ki18n ];
|
||||
buildInputs = [ kcodecs ];
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
kglobalaccel, kxmlgui, kcoreaddons, kdelibs4support,
|
||||
plasma-framework, libpulseaudio, alsaLib, libcanberra_kde
|
||||
}:
|
||||
@ -13,7 +13,7 @@ let
|
||||
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
|
||||
maintainers = [ lib.maintainers.rongcuid ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
buildInputs = [ libpulseaudio alsaLib libcanberra_kde ];
|
||||
propagatedBuildInputs = [
|
||||
kglobalaccel kxmlgui kcoreaddons kdelibs4support
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
kparts, ktexteditor, kwidgetsaddons, libkomparediff2
|
||||
}:
|
||||
|
||||
@ -9,7 +9,7 @@ let
|
||||
kdeApp {
|
||||
name = "kompare";
|
||||
meta = { license = with lib.licenses; [ gpl2 ]; };
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
kparts ktexteditor kwidgetsaddons libkomparediff2
|
||||
];
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kguiaddons,
|
||||
ki18n, kiconthemes, kinit, kdelibs4support, kio, knotifications,
|
||||
knotifyconfig, kparts, kpty, kservice, ktextwidgets, kwidgetsaddons,
|
||||
@ -15,7 +15,7 @@ let
|
||||
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
kdelibs4support ki18n kwindowsystem qtscript kbookmarks kcompletion
|
||||
kconfig kconfigwidgets kcoreaddons kguiaddons kiconthemes kinit kio
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, kdeApp
|
||||
, kdeWrapper
|
||||
, ecm
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, kauth
|
||||
, kcmutils
|
||||
@ -19,7 +19,7 @@ let
|
||||
license = with lib.licenses; [ gpl2 ];
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
kauth
|
||||
kcmutils
|
@ -1,4 +1,4 @@
|
||||
{ callPackage, pkgs, lib }:
|
||||
{ callPackage, recurseIntoAttrs, lib }:
|
||||
|
||||
let
|
||||
|
||||
@ -7,7 +7,7 @@ let
|
||||
|
||||
in
|
||||
|
||||
lib.mapAttrs (name: attr: pkgs.recurseIntoAttrs attr) {
|
||||
lib.mapAttrs (name: attr: recurseIntoAttrs attr) {
|
||||
ar = {
|
||||
qt4 = callPackage (kdeLocale4 "ar" {}) {};
|
||||
qt5 = callPackage (kdeLocale5 "ar" {}) {};
|
@ -1,4 +1,4 @@
|
||||
{ kdeApp, lib, ecm, libraw }:
|
||||
{ kdeApp, lib, extra-cmake-modules, libraw, qtbase }:
|
||||
|
||||
kdeApp {
|
||||
name = "libkdcraw";
|
||||
@ -6,6 +6,7 @@ kdeApp {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 bsd3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ qtbase ];
|
||||
propagatedBuildInputs = [ libraw ];
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{ kdeApp, lib, exiv2, ecm }:
|
||||
{ kdeApp, lib, exiv2, extra-cmake-modules, qtbase }:
|
||||
|
||||
kdeApp {
|
||||
name = "libkexiv2";
|
||||
@ -6,6 +6,7 @@ kdeApp {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 bsd3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ qtbase ];
|
||||
propagatedBuildInputs = [ exiv2 ];
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{ kdeApp, lib, ecm, kconfig, ki18n, kservice, kxmlgui }:
|
||||
{ kdeApp, lib, extra-cmake-modules, kconfig, ki18n, kservice, kxmlgui }:
|
||||
|
||||
kdeApp {
|
||||
name = "libkipi";
|
||||
@ -6,6 +6,6 @@ kdeApp {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 bsd3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [ kconfig ki18n kservice kxmlgui ];
|
||||
}
|
7
pkgs/applications/kde/libkomparediff2.nix
Normal file
7
pkgs/applications/kde/libkomparediff2.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kdeApp, lib, extra-cmake-modules, ki18n, kxmlgui, kcodecs, kio }:
|
||||
|
||||
kdeApp {
|
||||
name = "libkomparediff2";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [ kcodecs ki18n kxmlgui kio ];
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{ kdeApp, lib, kdeWrapper
|
||||
, ecm, qtscript, qtsvg, qtquickcontrols
|
||||
, extra-cmake-modules, qtscript, qtsvg, qtquickcontrols
|
||||
, gpsd
|
||||
}:
|
||||
|
||||
@ -9,7 +9,7 @@ let
|
||||
name = "marble";
|
||||
meta.license = with lib.licenses; [ lgpl21 gpl3 ];
|
||||
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [
|
||||
qtscript qtsvg qtquickcontrols
|
||||
gpsd
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
kconfig, kinit,
|
||||
kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5
|
||||
}:
|
||||
@ -13,7 +13,7 @@ let
|
||||
license = with lib.licenses; [ gpl2 ];
|
||||
maintainers = with lib.maintainers; [ peterhoeg ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
kconfig kinit
|
||||
kcmutils kconfigwidgets knewstuff kparts qca-qt5
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
djvulibre, ebook_tools, kactivities, karchive, kbookmarks, kcompletion,
|
||||
kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kdegraphics-mobipocket,
|
||||
kiconthemes, kjs, khtml, kio, kparts, kpty, kwallet, kwindowsystem, libkexiv2,
|
||||
@ -10,7 +10,7 @@
|
||||
let
|
||||
unwrapped = kdeApp {
|
||||
name = "okular";
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
djvulibre ebook_tools kactivities karchive kbookmarks kcompletion kconfig
|
||||
kconfigwidgets kcoreaddons kdbusaddons kdegraphics-mobipocket kiconthemes
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
kdeApp, lib, ecm,
|
||||
kdeApp, lib, extra-cmake-modules,
|
||||
cups, kconfig, kconfigwidgets, kdbusaddons, kiconthemes, ki18n, kcmutils, kio,
|
||||
knotifications, kwidgetsaddons, kwindowsystem, kitemviews, plasma-framework,
|
||||
qtdeclarative
|
||||
@ -11,7 +11,7 @@ kdeApp {
|
||||
license = [ lib.licenses.gpl2 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
nativeBuildInputs = [ ecm ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [
|
||||
cups kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications
|
||||
kwidgetsaddons kitemviews ki18n kio kwindowsystem plasma-framework
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeApp, lib, kdeWrapper,
|
||||
ecm, kdoctools,
|
||||
extra-cmake-modules, kdoctools,
|
||||
kconfig, kcoreaddons, kdbusaddons, kdeclarative, ki18n, kio, kipi-plugins,
|
||||
knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi,
|
||||
xcb-util-cursor
|
||||
@ -11,7 +11,7 @@ let
|
||||
kdeApp {
|
||||
name = "spectacle";
|
||||
meta = with lib; { maintainers = with maintainers; [ ttuegel ]; };
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications
|
||||
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi xcb-util-cursor
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
kdeDerivation, kdeWrapper, fetchFromGitHub, lib,
|
||||
ecm, kdoctools, kconfig, kinit, kjsembed,
|
||||
extra-cmake-modules, kdoctools, kconfig, kinit, kjsembed,
|
||||
taglib, exiv2, podofo
|
||||
}:
|
||||
|
||||
@ -25,7 +25,7 @@ let
|
||||
};
|
||||
|
||||
buildInputs = [ taglib exiv2 podofo ];
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [ kconfig kinit kjsembed ];
|
||||
};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, cmake, kde5, redshift, fetchFromGitHub, ... }:
|
||||
{ stdenv, cmake, plasma-framework, redshift, fetchFromGitHub, }:
|
||||
|
||||
let version = "1.0.17"; in
|
||||
|
||||
@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [
|
||||
cmake
|
||||
kde5.plasma-framework
|
||||
plasma-framework
|
||||
];
|
||||
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
, fetchurl
|
||||
, kdoctools
|
||||
, kdeWrapper
|
||||
, ecm
|
||||
, extra-cmake-modules
|
||||
, karchive
|
||||
, kcrash
|
||||
, kdbusaddons
|
||||
@ -43,7 +43,7 @@ let
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
ecm kdoctools
|
||||
extra-cmake-modules kdoctools
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ kdeDerivation
|
||||
, lib
|
||||
, fetchurl
|
||||
, ecm
|
||||
, extra-cmake-modules
|
||||
, kbookmarks
|
||||
, karchive
|
||||
, kconfig
|
||||
@ -64,7 +64,7 @@ let
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
ecm
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
];
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, cmake
|
||||
, ecm, qtbase, qtscript
|
||||
, extra-cmake-modules, qtbase, qtscript
|
||||
, ki18n, kio, knotifications, knotifyconfig, kdoctools, kross, kcmutils, kdelibs4support
|
||||
, libktorrent, boost, taglib
|
||||
}:
|
||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ kdoctools ecm ];
|
||||
nativeBuildInputs = [ kdoctools extra-cmake-modules ];
|
||||
|
||||
buildInputs =
|
||||
[ cmake qtbase qtscript
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, lib, fetchurl, pkgconfig, pcre, perl, flex, bison, gettext, libpcap, libnl, c-ares
|
||||
, gnutls, libgcrypt, libgpgerror, geoip, openssl, lua5, makeDesktopItem, python, libcap, glib
|
||||
, libssh, zlib, cmake, ecm
|
||||
, libssh, zlib, cmake, extra-cmake-modules
|
||||
, withGtk ? false, gtk3 ? null, pango ? null, cairo ? null, gdk_pixbuf ? null
|
||||
, withQt ? false, qt5 ? null
|
||||
, ApplicationServices, SystemConfiguration, gmp
|
||||
@ -24,7 +24,7 @@ in stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
bison cmake ecm flex gettext pcre perl pkgconfig libpcap lua5 libssh openssl libgcrypt libgpgerror gnutls
|
||||
bison cmake extra-cmake-modules flex gettext pcre perl pkgconfig libpcap lua5 libssh openssl libgcrypt libgpgerror gnutls
|
||||
geoip c-ares python glib zlib
|
||||
] ++ (optionals withQt (with qt5; [ qtbase qtmultimedia qtsvg qttools ]))
|
||||
++ (optionals withGtk [ gtk3 pango cairo gdk_pixbuf ])
|
||||
|
@ -2,7 +2,7 @@
|
||||
, exiv2, boost, sqlite, icu, vc, shared_mime_info, librevenge, libodfgen, libwpg
|
||||
, libwpd, poppler_qt4, ilmbase, gsl, qca2, marble, libvisio, libmysql, postgresql
|
||||
, freetds, fftw, glew, libkdcraw, pstoedit, opencolorio, kdepimlibs
|
||||
, kactivities, okular, git, oxygen_icons, makeWrapper
|
||||
, kactivities, okular, git, oxygen-icons5, makeWrapper
|
||||
# TODO: not found
|
||||
#, xbase, openjpeg
|
||||
# TODO: package libWPS, Spnav, m2mml, LibEtonyek
|
||||
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
for i in $out/bin/*; do
|
||||
wrapProgram $i \
|
||||
--prefix PATH ':' "${pstoedit.out}/bin" \
|
||||
--prefix XDG_DATA_DIRS ':' "${oxygen_icons}/share"
|
||||
--prefix XDG_DATA_DIRS ':' "${oxygen-icons5}/share"
|
||||
done
|
||||
'';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, ecm, makeQtWrapper, qtwebkit, qtscript, grantlee,
|
||||
{ stdenv, fetchurl, cmake, extra-cmake-modules, makeQtWrapper, qtwebkit, qtscript, grantlee,
|
||||
kxmlgui, kwallet, kparts, kdoctools, kjobwidgets, kdesignerplugin,
|
||||
kiconthemes, knewstuff, sqlcipher, qca-qt5, kdelibs4support, kactivities,
|
||||
knotifyconfig, krunner, libofx }:
|
||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1xrh9nal122rzlv4m0x8qah6zpqb6891al3351piarpk2xgjgj4x";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ecm makeQtWrapper ];
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules makeQtWrapper ];
|
||||
|
||||
buildInputs = [ qtwebkit qtscript grantlee kxmlgui kwallet kparts kdoctools
|
||||
kjobwidgets kdesignerplugin kiconthemes knewstuff sqlcipher qca-qt5
|
||||
|
17
pkgs/build-support/kde/derivation.nix
Normal file
17
pkgs/build-support/kde/derivation.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ stdenv, lib, debug ? false }:
|
||||
|
||||
args:
|
||||
|
||||
stdenv.mkDerivation (args // {
|
||||
|
||||
outputs = args.outputs or [ "out" "dev" ];
|
||||
|
||||
propagatedUserEnvPkgs =
|
||||
builtins.map lib.getBin (args.propagatedBuildInputs or []);
|
||||
|
||||
cmakeFlags =
|
||||
(args.cmakeFlags or [])
|
||||
++ [ "-DBUILD_TESTING=OFF" ]
|
||||
++ lib.optional debug "-DCMAKE_BUILD_TYPE=Debug";
|
||||
|
||||
})
|
@ -1,93 +0,0 @@
|
||||
/*
|
||||
|
||||
# New packages
|
||||
|
||||
READ THIS FIRST
|
||||
|
||||
This module is for official packages in the KDE Applications Bundle. All
|
||||
available packages are listed in `./srcs.nix`, although some are not yet
|
||||
packaged in Nixpkgs (see below).
|
||||
|
||||
IF YOUR PACKAGE IS NOT LISTED IN `./srcs.nix`, IT DOES NOT GO HERE.
|
||||
|
||||
Many of the packages released upstream are not yet built in Nixpkgs due to lack
|
||||
of demand. To add a Nixpkgs build for an upstream package, copy one of the
|
||||
existing packages here and modify it as necessary. A simple example package that
|
||||
still shows most of the available features is in `./gwenview.nix`.
|
||||
|
||||
# Updates
|
||||
|
||||
1. Update the URL in `./fetch.sh`.
|
||||
2. Run `./maintainers/scripts/fetch-kde-qt.sh pkgs/desktops/kde-5/applications`
|
||||
from the top of the Nixpkgs tree.
|
||||
3. Invoke `nix-build -A kde5` and ensure that everything builds.
|
||||
4. Commit the changes and open a pull request.
|
||||
|
||||
*/
|
||||
|
||||
{ pkgs, debug ? false }:
|
||||
|
||||
let
|
||||
|
||||
inherit (pkgs) lib stdenv;
|
||||
|
||||
mirror = "mirror://kde";
|
||||
srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; };
|
||||
|
||||
packages = self: with self; {
|
||||
|
||||
kdeApp = import ./kde-app.nix {
|
||||
inherit lib;
|
||||
inherit debug srcs;
|
||||
inherit kdeDerivation;
|
||||
};
|
||||
|
||||
kdelibs = callPackage ./kdelibs {
|
||||
inherit (srcs.kdelibs) src version;
|
||||
inherit (pkgs) attica phonon;
|
||||
};
|
||||
|
||||
akonadi = callPackage ./akonadi.nix {};
|
||||
akonadi-contacts = callPackage ./akonadi-contacts.nix {};
|
||||
akonadi-mime = callPackage ./akonadi-mime.nix {};
|
||||
ark = callPackage ./ark/default.nix {};
|
||||
baloo-widgets = callPackage ./baloo-widgets.nix {};
|
||||
dolphin = callPackage ./dolphin.nix {};
|
||||
dolphin-plugins = callPackage ./dolphin-plugins.nix {};
|
||||
ffmpegthumbs = callPackage ./ffmpegthumbs.nix {
|
||||
ffmpeg = pkgs.ffmpeg_2;
|
||||
};
|
||||
filelight = callPackage ./filelight.nix {};
|
||||
gwenview = callPackage ./gwenview.nix {};
|
||||
kate = callPackage ./kate.nix {};
|
||||
kdenlive = callPackage ./kdenlive.nix {};
|
||||
kcalc = callPackage ./kcalc.nix {};
|
||||
kcolorchooser = callPackage ./kcolorchooser.nix {};
|
||||
kcontacts = callPackage ./kcontacts.nix {};
|
||||
kdegraphics-mobipocket = callPackage ./kdegraphics-mobipocket.nix {};
|
||||
kdegraphics-thumbnailers = callPackage ./kdegraphics-thumbnailers.nix {};
|
||||
kdenetwork-filesharing = callPackage ./kdenetwork-filesharing.nix {};
|
||||
kdf = callPackage ./kdf.nix {};
|
||||
kgpg = callPackage ./kgpg.nix {};
|
||||
khelpcenter = callPackage ./khelpcenter.nix {};
|
||||
kig = callPackage ./kig.nix {};
|
||||
kio-extras = callPackage ./kio-extras.nix {};
|
||||
kmime = callPackage ./kmime.nix {};
|
||||
kmix = callPackage ./kmix.nix {};
|
||||
kompare = callPackage ./kompare.nix {};
|
||||
konsole = callPackage ./konsole.nix {};
|
||||
kwalletmanager = callPackage ./kwalletmanager.nix {};
|
||||
libkdcraw = callPackage ./libkdcraw.nix {};
|
||||
libkexiv2 = callPackage ./libkexiv2.nix {};
|
||||
libkipi = callPackage ./libkipi.nix {};
|
||||
libkomparediff2 = callPackage ./libkomparediff2.nix {};
|
||||
marble = callPackage ./marble.nix {};
|
||||
okteta = callPackage ./okteta.nix {};
|
||||
okular = callPackage ./okular.nix {};
|
||||
print-manager = callPackage ./print-manager.nix {};
|
||||
spectacle = callPackage ./spectacle.nix {};
|
||||
|
||||
l10n = pkgs.recurseIntoAttrs (import ./l10n.nix { inherit callPackage lib pkgs; });
|
||||
};
|
||||
|
||||
in packages
|
@ -1,7 +0,0 @@
|
||||
{ kdeApp, lib, ecm, ki18n, kxmlgui, kcodecs, kio }:
|
||||
|
||||
kdeApp {
|
||||
name = "libkomparediff2";
|
||||
nativeBuildInputs = [ ecm ];
|
||||
propagatedBuildInputs = [ kcodecs ki18n kxmlgui kio ];
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
{
|
||||
stdenv, lib, src, version,
|
||||
automoc4, cmake, perl, pkgconfig,
|
||||
kdelibs, qt4, xproto
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "breeze-qt4-${version}";
|
||||
meta = {
|
||||
license = with lib.licenses; [
|
||||
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12
|
||||
];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ ttuegel ];
|
||||
homepage = "http://www.kde.org";
|
||||
};
|
||||
inherit src;
|
||||
buildInputs = [ kdelibs qt4 xproto ];
|
||||
nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
|
||||
cmakeFlags = [
|
||||
"-DUSE_KDE4=ON"
|
||||
"-DQT_QMAKE_EXECUTABLE=${qt4}/bin/qmake"
|
||||
];
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
/*
|
||||
|
||||
# New packages
|
||||
|
||||
READ THIS FIRST
|
||||
|
||||
This module is for official packages in KDE Plasma 5. All available packages are
|
||||
listed in `./srcs.nix`, although a few are not yet packaged in Nixpkgs (see
|
||||
below).
|
||||
|
||||
IF YOUR PACKAGE IS NOT LISTED IN `./srcs.nix`, IT DOES NOT GO HERE.
|
||||
|
||||
Many of the packages released upstream are not yet built in Nixpkgs due to lack
|
||||
of demand. To add a Nixpkgs build for an upstream package, copy one of the
|
||||
existing packages here and modify it as necessary.
|
||||
|
||||
# Updates
|
||||
|
||||
1. Update the URL in `./fetch.sh`.
|
||||
2. Run `./maintainers/scripts/fetch-kde-qt.sh pkgs/desktops/kde-5/plasma`
|
||||
from the top of the Nixpkgs tree.
|
||||
3. Invoke `nix-build -A kde5` and ensure that everything builds.
|
||||
4. Commit the changes and open a pull request.
|
||||
|
||||
*/
|
||||
|
||||
{ pkgs, debug ? false }:
|
||||
|
||||
let
|
||||
|
||||
inherit (pkgs) lib makeSetupHook stdenv symlinkJoin;
|
||||
|
||||
mirror = "mirror://kde";
|
||||
srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; };
|
||||
|
||||
packages = self: with self; {
|
||||
plasmaPackage = args:
|
||||
let
|
||||
inherit (args) name;
|
||||
sname = args.sname or name;
|
||||
inherit (srcs."${sname}") src version;
|
||||
in kdeDerivation (args // {
|
||||
name = "${name}-${version}";
|
||||
inherit src;
|
||||
|
||||
meta = {
|
||||
license = with lib.licenses; [
|
||||
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12
|
||||
];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ ttuegel ];
|
||||
homepage = "http://www.kde.org";
|
||||
} // (args.meta or {});
|
||||
});
|
||||
|
||||
bluedevil = callPackage ./bluedevil.nix {};
|
||||
breeze-gtk = callPackage ./breeze-gtk.nix {};
|
||||
breeze-qt4 = callPackage ./breeze-qt4.nix {
|
||||
inherit (srcs.breeze) src version;
|
||||
};
|
||||
breeze-qt5 = callPackage ./breeze-qt5.nix {};
|
||||
breeze-grub = callPackage ./breeze-grub.nix {};
|
||||
breeze-plymouth = callPackage ./breeze-plymouth {};
|
||||
kactivitymanagerd = callPackage ./kactivitymanagerd.nix {};
|
||||
kde-cli-tools = callPackage ./kde-cli-tools.nix {};
|
||||
kde-gtk-config = callPackage ./kde-gtk-config {};
|
||||
kdecoration = callPackage ./kdecoration.nix {};
|
||||
kdeplasma-addons = callPackage ./kdeplasma-addons.nix {};
|
||||
kgamma5 = callPackage ./kgamma5.nix {};
|
||||
khotkeys = callPackage ./khotkeys.nix {};
|
||||
kinfocenter = callPackage ./kinfocenter.nix {};
|
||||
kmenuedit = callPackage ./kmenuedit.nix {};
|
||||
kscreen = callPackage ./kscreen.nix {};
|
||||
kscreenlocker = callPackage ./kscreenlocker.nix {};
|
||||
ksshaskpass = callPackage ./ksshaskpass.nix {};
|
||||
ksysguard = callPackage ./ksysguard.nix {};
|
||||
kwallet-pam = callPackage ./kwallet-pam.nix {};
|
||||
kwayland-integration = callPackage ./kwayland-integration.nix {};
|
||||
kwin = callPackage ./kwin {};
|
||||
kwrited = callPackage ./kwrited.nix {};
|
||||
libkscreen = callPackage ./libkscreen.nix {};
|
||||
libksysguard = callPackage ./libksysguard {};
|
||||
milou = callPackage ./milou.nix {};
|
||||
oxygen = callPackage ./oxygen.nix {};
|
||||
plasma-desktop = callPackage ./plasma-desktop {};
|
||||
plasma-integration = callPackage ./plasma-integration.nix {};
|
||||
plasma-nm = callPackage ./plasma-nm {};
|
||||
plasma-pa = callPackage ./plasma-pa.nix {
|
||||
inherit (pkgs.gnome3) gconf;
|
||||
};
|
||||
plasma-workspace = callPackage ./plasma-workspace {};
|
||||
plasma-workspace-wallpapers = callPackage ./plasma-workspace-wallpapers.nix {};
|
||||
polkit-kde-agent = callPackage ./polkit-kde-agent.nix {};
|
||||
powerdevil = callPackage ./powerdevil.nix {};
|
||||
startkde = callPackage ./startkde {};
|
||||
systemsettings = callPackage ./systemsettings.nix {};
|
||||
};
|
||||
|
||||
in packages
|
@ -1 +0,0 @@
|
||||
WGET_ARGS=( http://download.kde.org/stable/plasma/5.8.5/ -A '*.tar.xz' )
|
@ -1,6 +0,0 @@
|
||||
{ plasmaPackage, ecm }:
|
||||
|
||||
plasmaPackage {
|
||||
name = "kdecoration";
|
||||
nativeBuildInputs = [ ecm ];
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
{ plasmaPackage, ecm, kdoctools, kdelibs4support
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
plasmaPackage {
|
||||
name = "kgamma5";
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
propagatedBuildInputs = [ kdelibs4support qtx11extras ];
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
{ plasmaPackage, ecm, kdoctools, kcmutils
|
||||
, kdbusaddons, kdelibs4support, kglobalaccel, ki18n, kio, kxmlgui
|
||||
, plasma-framework, plasma-workspace, qtx11extras
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
plasmaPackage {
|
||||
name = "khotkeys";
|
||||
nativeBuildInputs = [ ecm kdoctools ];
|
||||
|
||||
patches = [
|
||||
# Patch is in 5.9 and up.
|
||||
(fetchpatch {
|
||||
url = "https://cgit.kde.org/khotkeys.git/patch/?id=f8f7eaaf41e2b95ebfa4b2e35c6ee252524a471b";
|
||||
sha256 = "1wxx3qv16jd623jh728xcda8i4y1daq25skwilhv4cfvqxyzk7nn";
|
||||
})
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
kdelibs4support kglobalaccel ki18n kio plasma-framework plasma-workspace
|
||||
qtx11extras kcmutils kdbusaddons kxmlgui
|
||||
];
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
{ plasmaPackage, ecm, pam, socat, libgcrypt
|
||||
}:
|
||||
|
||||
plasmaPackage {
|
||||
name = "kwallet-pam";
|
||||
|
||||
nativeBuildInputs = [ ecm ];
|
||||
|
||||
buildInputs = [ pam socat libgcrypt ];
|
||||
|
||||
}
|
@ -1,325 +0,0 @@
|
||||
# DO NOT EDIT! This file is generated automatically by fetch-kde-qt.sh
|
||||
{ fetchurl, mirror }:
|
||||
|
||||
{
|
||||
bluedevil = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/bluedevil-5.8.5.tar.xz";
|
||||
sha256 = "07gj3m5f0rk26n0xm4yddsfny6l2sh0airm45hb33p7m5inaqzgv";
|
||||
name = "bluedevil-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
breeze = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/breeze-5.8.5.tar.xz";
|
||||
sha256 = "1gcns00iq7a5f1a0w6vf8zck669gzcd785fiybnvc6s6q8x4bp61";
|
||||
name = "breeze-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
breeze-grub = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/breeze-grub-5.8.5.tar.xz";
|
||||
sha256 = "12ynrxdfcraphbwv9yrfhvwf3xkzrw0raqvgi7ksz5cvh78kl5qf";
|
||||
name = "breeze-grub-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
breeze-gtk = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/breeze-gtk-5.8.5.tar.xz";
|
||||
sha256 = "15dx5hl9w9fiash30vgkbww6h7hck0dr42hh8gzysn0xyf0fzpgd";
|
||||
name = "breeze-gtk-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
breeze-plymouth = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/breeze-plymouth-5.8.5.tar.xz";
|
||||
sha256 = "1ryb2jrzw0bzpi7ig4h5k0i33d2qviqsjxw7mnqxcb9q49a4ziq1";
|
||||
name = "breeze-plymouth-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
discover = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/discover-5.8.5.tar.xz";
|
||||
sha256 = "0fr6mksqw46aghfzj78nlq3f89xd63vq2hr4c3gb4vkl5y8v08hg";
|
||||
name = "discover-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kactivitymanagerd = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kactivitymanagerd-5.8.5.tar.xz";
|
||||
sha256 = "07cqnbyznn5wy7vrqyid8h5ah7h3sb3pb30qlm83b4m29bkhggwh";
|
||||
name = "kactivitymanagerd-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kde-cli-tools = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kde-cli-tools-5.8.5.tar.xz";
|
||||
sha256 = "1ig9x5h9xkzis9izggkjpiiy4sm77pk347jdngx01qpacz68iyp7";
|
||||
name = "kde-cli-tools-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kdecoration = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kdecoration-5.8.5.tar.xz";
|
||||
sha256 = "1vhw57pj9i5224i9irk4qmingvkg5bip11vsqiwhmn5307bpnfiq";
|
||||
name = "kdecoration-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kde-gtk-config = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kde-gtk-config-5.8.5.tar.xz";
|
||||
sha256 = "1j0mzmmdhqd3a8papps6cad0gqn081mc4kqzi2hjai7038l6951r";
|
||||
name = "kde-gtk-config-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kdeplasma-addons = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kdeplasma-addons-5.8.5.tar.xz";
|
||||
sha256 = "181kagb4nbl9a7akk79slwkb7m2j4vyhabagih0z8l45wl5wrz9d";
|
||||
name = "kdeplasma-addons-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kgamma5 = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kgamma5-5.8.5.tar.xz";
|
||||
sha256 = "073z4w4i2hwsqqgxcfl0w8d57nhzc069h9zwp7fv93aaw4mgzci2";
|
||||
name = "kgamma5-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
khotkeys = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/khotkeys-5.8.5.tar.xz";
|
||||
sha256 = "1fh0z9vfb908nbwj3snkf9z55jbcb5id87k5sa0v8dhazmp91ylh";
|
||||
name = "khotkeys-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kinfocenter = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kinfocenter-5.8.5.tar.xz";
|
||||
sha256 = "1fksnb9klbcrr9ly6dd2yx5y1ngcwcln43zykpc76pr4i49jpggp";
|
||||
name = "kinfocenter-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kmenuedit = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kmenuedit-5.8.5.tar.xz";
|
||||
sha256 = "1vq5f69w75lj81nz75db88lqxc4zvhicd5w7r6k7amggnwxm9f3m";
|
||||
name = "kmenuedit-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kscreen = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kscreen-5.8.5.tar.xz";
|
||||
sha256 = "069x3vsfqirmq8r7yfa68srhjvygdwsxcj0b4vvb7zivs29zn1mh";
|
||||
name = "kscreen-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kscreenlocker = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kscreenlocker-5.8.5.tar.xz";
|
||||
sha256 = "11b2v3chhk1ma5kjbmf35qahfr8gbaw78mcqs8vw5m9x74vlimkj";
|
||||
name = "kscreenlocker-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
ksshaskpass = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/ksshaskpass-5.8.5.tar.xz";
|
||||
sha256 = "1gr48f4akrn0yhlnjw4yaas6ah5z40fb8iz06gi1dzry5axfmaxh";
|
||||
name = "ksshaskpass-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
ksysguard = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/ksysguard-5.8.5.tar.xz";
|
||||
sha256 = "1gd81y2a459j5k1mpikfrvwcz7v09m526nrl7kpr4l4a1ps8zfy9";
|
||||
name = "ksysguard-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kwallet-pam = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kwallet-pam-5.8.5.tar.xz";
|
||||
sha256 = "0310vr3p9fxl3vwdgklk0acx6w31pcpq8mi9yldahg1mkjqf7l44";
|
||||
name = "kwallet-pam-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kwayland-integration = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kwayland-integration-5.8.5.tar.xz";
|
||||
sha256 = "11f63mq7crsbrpdib16q8xg0hk8jr5x1cyv43q8qdqm0591cglli";
|
||||
name = "kwayland-integration-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kwin = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kwin-5.8.5.tar.xz";
|
||||
sha256 = "182z17d4sad9j15qagx9yz13wwzcyy6hlgpy5nlx6dlfcb8s00x7";
|
||||
name = "kwin-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
kwrited = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/kwrited-5.8.5.tar.xz";
|
||||
sha256 = "1nsr244niyq2bk29s0cqq1p2qj0h1hx4nl13nc3x3aycfhfkjfkr";
|
||||
name = "kwrited-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
libkscreen = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/libkscreen-5.8.5.tar.xz";
|
||||
sha256 = "1zj2nzyl0nmg5za3iwr4q4nzfv69f35f0394b6k0g3dgh1zxmby9";
|
||||
name = "libkscreen-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
libksysguard = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/libksysguard-5.8.5.tar.xz";
|
||||
sha256 = "1acp4kzdjhipsqw90n3rc1ydbkqhb12afwdsfl25fibv0c39avwp";
|
||||
name = "libksysguard-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
milou = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/milou-5.8.5.tar.xz";
|
||||
sha256 = "0lj5cb43jkqs8qg2acs39dkfwskbw135ap65vxiv27ivxscyvz3d";
|
||||
name = "milou-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
oxygen = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/oxygen-5.8.5.tar.xz";
|
||||
sha256 = "199jcn6qzyihxmw38b1cl0ah0rzn7f574khx72n9x5y9143p9lh7";
|
||||
name = "oxygen-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-desktop = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/plasma-desktop-5.8.5.tar.xz";
|
||||
sha256 = "045990fvhqpwhfi6jqpkzhgbhc3lwvwhkia1y77m12n1djbynpnr";
|
||||
name = "plasma-desktop-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-integration = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/plasma-integration-5.8.5.tar.xz";
|
||||
sha256 = "1sm7027ywz8xxqfsjv6jvk8zx11kx83rx88bb8cy31qfjipsakfb";
|
||||
name = "plasma-integration-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-nm = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/plasma-nm-5.8.5.tar.xz";
|
||||
sha256 = "1g1yyzc8y2hsgycficvavpl5yizd54ns93cdky9cgsrnxlkfwbvc";
|
||||
name = "plasma-nm-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-pa = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/plasma-pa-5.8.5.tar.xz";
|
||||
sha256 = "0vg1dyxfg8rxzyh0xnk41c95zp8rdbx1w462llrwchzp29p3xg1b";
|
||||
name = "plasma-pa-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-sdk = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/plasma-sdk-5.8.5.tar.xz";
|
||||
sha256 = "13lyb5x4a8aq4fykvdv1137yvc4s4q31fdxhxppza1wkw8lvbvpd";
|
||||
name = "plasma-sdk-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-tests = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/plasma-tests-5.8.5.tar.xz";
|
||||
sha256 = "0wgqyqlqygi3z0cccpfrpi259jp4yhh2g4x3mqcxisv58mbjrj1b";
|
||||
name = "plasma-tests-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-workspace = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/plasma-workspace-5.8.5.tar.xz";
|
||||
sha256 = "18bf5wmyb198jnbpivjjwsk65sksrvzlvykx3mr3wvj30mr0f9bd";
|
||||
name = "plasma-workspace-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
plasma-workspace-wallpapers = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/plasma-workspace-wallpapers-5.8.5.tar.xz";
|
||||
sha256 = "116s9qw888lbgxc9ggxf7fa99vggixr2ig1715xb5zmqm14yznyz";
|
||||
name = "plasma-workspace-wallpapers-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
polkit-kde-agent = {
|
||||
version = "1-5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/polkit-kde-agent-1-5.8.5.tar.xz";
|
||||
sha256 = "1dwk848wljcd9bi0h58h0ljnjlz1qq50rd7i38f3cb848iipisw7";
|
||||
name = "polkit-kde-agent-1-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
powerdevil = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/powerdevil-5.8.5.tar.xz";
|
||||
sha256 = "0lj7jcaqfsipiwi7x4q684p4pfsqzflvddr7hrhirfl1p62bc704";
|
||||
name = "powerdevil-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
sddm-kcm = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/sddm-kcm-5.8.5.tar.xz";
|
||||
sha256 = "0dcvk3f3cqq4z5hc63ccpxyl3kknjvd8jsnx7r2hfrwsw0y90fqc";
|
||||
name = "sddm-kcm-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
systemsettings = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/systemsettings-5.8.5.tar.xz";
|
||||
sha256 = "0pkwmgbjglbyc8i22hivh5gnaj742df3ff3f998k66k81mfjkwga";
|
||||
name = "systemsettings-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
user-manager = {
|
||||
version = "5.8.5";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/plasma/5.8.5/user-manager-5.8.5.tar.xz";
|
||||
sha256 = "1ck8x860q3aqgbbgiwfdhs0i0bs2nhqqva19kl9x1b015p64gl5z";
|
||||
name = "user-manager-5.8.5.tar.xz";
|
||||
};
|
||||
};
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, fluxbox, xscreensaver, desktop_file_utils,
|
||||
numlockx, xorg, qt5, kde5
|
||||
{ stdenv, fetchFromGitHub, fluxbox, xscreensaver, desktop_file_utils, numlockx,
|
||||
xorg, qtbase, qtsvg, qtmultimedia, qtx11extras, qmakeHook, qttools, oxygen-icons5
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -14,19 +14,19 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
qt5.qmakeHook
|
||||
qt5.qttools
|
||||
qmakeHook
|
||||
qttools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
xorg.libxcb
|
||||
xorg.xcbutilwm
|
||||
xorg.xcbutilimage
|
||||
qt5.qtbase
|
||||
qt5.qtsvg
|
||||
qt5.qtmultimedia
|
||||
qt5.qtx11extras
|
||||
kde5.oxygen-icons5
|
||||
qtbase
|
||||
qtsvg
|
||||
qtmultimedia
|
||||
qtx11extras
|
||||
oxygen-icons5
|
||||
fluxbox
|
||||
xscreensaver
|
||||
desktop_file_utils
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, xorg }:
|
||||
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools,
|
||||
qtx11extras, qttools, qtsvg, libqtxdg, kwindowsystem, xorg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -14,15 +15,15 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtx11extras
|
||||
qt5.qttools
|
||||
qt5.qtsvg
|
||||
kde5.kwindowsystem
|
||||
lxqt.libqtxdg
|
||||
qtx11extras
|
||||
qttools
|
||||
qtsvg
|
||||
kwindowsystem
|
||||
libqtxdg
|
||||
xorg.libXScrnSaver
|
||||
];
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt, xorg,
|
||||
libfm, menu-cache }:
|
||||
{
|
||||
stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools,
|
||||
xorg, libfm, menu-cache,
|
||||
qtx11extras, qttools
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -16,18 +19,18 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkgconfig
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtx11extras
|
||||
qt5.qttools
|
||||
qtx11extras
|
||||
qttools
|
||||
libfm
|
||||
menu-cache
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
||||
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Core library of PCManFM-Qt (Qt binding for libfm)";
|
||||
homepage = https://github.com/lxde/libfm-qt;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
|
||||
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, standardPatch, qtx11extras, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -14,21 +14,21 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtx11extras
|
||||
qt5.qttools
|
||||
qt5.qtsvg
|
||||
kde5.kwindowsystem
|
||||
lxqt.liblxqt
|
||||
lxqt.libqtxdg
|
||||
qtx11extras
|
||||
qttools
|
||||
qtsvg
|
||||
kwindowsystem
|
||||
liblxqt
|
||||
libqtxdg
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
||||
|
||||
postPatch = lxqt.standardPatch;
|
||||
postPatch = standardPatch;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Dialogue window providing information about LXQt and the system it's running on";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, polkit }:
|
||||
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, standardPatch, qtx11extras, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, polkit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -14,22 +14,22 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtx11extras
|
||||
qt5.qttools
|
||||
qt5.qtsvg
|
||||
kde5.kwindowsystem
|
||||
lxqt.liblxqt
|
||||
lxqt.libqtxdg
|
||||
qtx11extras
|
||||
qttools
|
||||
qtsvg
|
||||
kwindowsystem
|
||||
liblxqt
|
||||
libqtxdg
|
||||
polkit
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
||||
|
||||
postPatch = lxqt.standardPatch;
|
||||
postPatch = standardPatch;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "LXQt system administration tool";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt, xorg }:
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, standardPatch, qtbase, qtx11extras, qttools, qtsvg, kwindowsystem, libkscreen, liblxqt, libqtxdg, libpthreadstubs, xorg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -15,18 +15,18 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkgconfig
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
qt5.qtx11extras
|
||||
qt5.qttools
|
||||
qt5.qtsvg
|
||||
kde5.kwindowsystem
|
||||
kde5.libkscreen
|
||||
lxqt.liblxqt
|
||||
lxqt.libqtxdg
|
||||
qtbase
|
||||
qtx11extras
|
||||
qttools
|
||||
qtsvg
|
||||
kwindowsystem
|
||||
libkscreen
|
||||
liblxqt
|
||||
libqtxdg
|
||||
xorg.libpthreadstubs
|
||||
xorg.libXdmcp
|
||||
xorg.libXScrnSaver
|
||||
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
||||
|
||||
postPatch = lxqt.standardPatch;
|
||||
postPatch = standardPatch;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tools to configure LXQt and the underlying operating system";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
|
||||
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, standardPatch, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -14,22 +14,22 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
qt5.qttools
|
||||
qt5.qtx11extras
|
||||
qt5.qtsvg
|
||||
kde5.kwindowsystem
|
||||
lxqt.liblxqt
|
||||
lxqt.libqtxdg
|
||||
qtbase
|
||||
qttools
|
||||
qtx11extras
|
||||
qtsvg
|
||||
kwindowsystem
|
||||
liblxqt
|
||||
libqtxdg
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
||||
|
||||
postPatch = lxqt.standardPatch;
|
||||
postPatch = standardPatch;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Daemon used to register global keyboard shortcuts";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
|
||||
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, lxqt-common }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -14,17 +14,17 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
qt5.qttools
|
||||
qt5.qtsvg
|
||||
kde5.kwindowsystem
|
||||
lxqt.liblxqt
|
||||
lxqt.libqtxdg
|
||||
lxqt.lxqt-common
|
||||
qtbase
|
||||
qttools
|
||||
qtsvg
|
||||
kwindowsystem
|
||||
liblxqt
|
||||
libqtxdg
|
||||
lxqt-common
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
|
||||
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, qtx11extras, kwindowsystem, liblxqt, libqtxdg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -14,17 +14,17 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
qt5.qttools
|
||||
qt5.qtx11extras
|
||||
qt5.qtsvg
|
||||
kde5.kwindowsystem
|
||||
lxqt.liblxqt
|
||||
lxqt.libqtxdg
|
||||
qtbase
|
||||
qttools
|
||||
qtx11extras
|
||||
qtsvg
|
||||
kwindowsystem
|
||||
liblxqt
|
||||
libqtxdg
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
||||
|
@ -1,6 +1,11 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt, xorg,
|
||||
libstatgrab, lm_sensors, libpulseaudio, alsaLib, menu-cache,
|
||||
lxmenu-data }:
|
||||
{
|
||||
stdenv, fetchFromGitHub, standardPatch,
|
||||
cmake, pkgconfig, lxqt-build-tools,
|
||||
qtbase, qttools, qtx11extras, qtsvg, libdbusmenu, kwindowsystem, solid,
|
||||
kguiaddons, liblxqt, libqtxdg, lxqt-common, lxqt-globalkeys, libsysstat,
|
||||
xorg, libstatgrab, lm_sensors, libpulseaudio, alsaLib, menu-cache,
|
||||
lxmenu-data
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -17,23 +22,23 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkgconfig
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
qt5.qttools
|
||||
qt5.qtx11extras
|
||||
qt5.qtsvg
|
||||
qt5.libdbusmenu
|
||||
kde5.kwindowsystem
|
||||
kde5.solid
|
||||
kde5.kguiaddons
|
||||
lxqt.liblxqt
|
||||
lxqt.libqtxdg
|
||||
lxqt.lxqt-common
|
||||
lxqt.lxqt-globalkeys
|
||||
lxqt.libsysstat
|
||||
qtbase
|
||||
qttools
|
||||
qtx11extras
|
||||
qtsvg
|
||||
libdbusmenu
|
||||
kwindowsystem
|
||||
solid
|
||||
kguiaddons
|
||||
liblxqt
|
||||
libqtxdg
|
||||
lxqt-common
|
||||
lxqt-globalkeys
|
||||
libsysstat
|
||||
xorg.libpthreadstubs
|
||||
xorg.libXdmcp
|
||||
libstatgrab
|
||||
@ -46,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
||||
|
||||
postPatch = lxqt.standardPatch;
|
||||
postPatch = standardPatch;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "The LXQt desktop panel";
|
||||
|
@ -1,4 +1,8 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt }:
|
||||
{
|
||||
stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools,
|
||||
qtbase, qttools, qtx11extras, qtsvg, polkit-qt, kwindowsystem, liblxqt,
|
||||
libqtxdg,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -15,18 +19,18 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkgconfig
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
qt5.qttools
|
||||
qt5.qtx11extras
|
||||
qt5.qtsvg
|
||||
qt5.polkit-qt
|
||||
kde5.kwindowsystem
|
||||
lxqt.liblxqt
|
||||
lxqt.libqtxdg
|
||||
qtbase
|
||||
qttools
|
||||
qtx11extras
|
||||
qtsvg
|
||||
polkit-qt
|
||||
kwindowsystem
|
||||
liblxqt
|
||||
libqtxdg
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
|
||||
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, solid, kidletime, liblxqt, libqtxdg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -14,19 +14,19 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
qt5.qttools
|
||||
qt5.qtx11extras
|
||||
qt5.qtsvg
|
||||
kde5.kwindowsystem
|
||||
kde5.solid
|
||||
kde5.kidletime
|
||||
lxqt.liblxqt
|
||||
lxqt.libqtxdg
|
||||
qtbase
|
||||
qttools
|
||||
qtx11extras
|
||||
qtsvg
|
||||
kwindowsystem
|
||||
solid
|
||||
kidletime
|
||||
liblxqt
|
||||
libqtxdg
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
||||
|
@ -1,4 +1,8 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, qt5, lxqt }:
|
||||
{
|
||||
stdenv, fetchFromGitHub, standardPatch,
|
||||
cmake, lxqt-build-tools,
|
||||
qtbase, qtx11extras, qttools, qtsvg, libdbusmenu, libqtxdg,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -14,21 +18,21 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
qt5.qtx11extras
|
||||
qt5.qttools
|
||||
qt5.qtsvg
|
||||
qt5.libdbusmenu
|
||||
lxqt.libqtxdg
|
||||
qtbase
|
||||
qtx11extras
|
||||
qttools
|
||||
qtsvg
|
||||
libdbusmenu
|
||||
libqtxdg
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
||||
|
||||
postPatch = lxqt.standardPatch;
|
||||
postPatch = standardPatch;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "LXQt Qt platform integration plugin";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt,
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, lxqt-common, lxqt-globalkeys,
|
||||
menu-cache, muparser }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -16,18 +16,18 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkgconfig
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
qt5.qttools
|
||||
qt5.qtsvg
|
||||
kde5.kwindowsystem
|
||||
lxqt.liblxqt
|
||||
lxqt.libqtxdg
|
||||
lxqt.lxqt-common
|
||||
lxqt.lxqt-globalkeys
|
||||
qtbase
|
||||
qttools
|
||||
qtsvg
|
||||
kwindowsystem
|
||||
liblxqt
|
||||
libqtxdg
|
||||
lxqt-common
|
||||
lxqt-globalkeys
|
||||
menu-cache
|
||||
muparser
|
||||
];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt, xorg, xdg-user-dirs }:
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, lxqt-common, xorg, xdg-user-dirs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -15,17 +15,17 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkgconfig
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
qt5.qttools
|
||||
qt5.qtsvg
|
||||
kde5.kwindowsystem
|
||||
lxqt.liblxqt
|
||||
lxqt.libqtxdg
|
||||
lxqt.lxqt-common
|
||||
qtbase
|
||||
qttools
|
||||
qtsvg
|
||||
kwindowsystem
|
||||
liblxqt
|
||||
libqtxdg
|
||||
lxqt-common
|
||||
xorg.libpthreadstubs
|
||||
xorg.libXdmcp
|
||||
xdg-user-dirs
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, sudo }:
|
||||
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg, sudo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -14,17 +14,17 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
lxqt.lxqt-build-tools
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
qt5.qttools
|
||||
qt5.qtx11extras
|
||||
qt5.qtsvg
|
||||
kde5.kwindowsystem
|
||||
lxqt.liblxqt
|
||||
lxqt.libqtxdg
|
||||
qtbase
|
||||
qttools
|
||||
qtx11extras
|
||||
qtsvg
|
||||
kwindowsystem
|
||||
liblxqt
|
||||
libqtxdg
|
||||
sudo
|
||||
];
|
||||
|
||||
|
@ -1,13 +1,11 @@
|
||||
{ pkgs, newScope, fetchFromGitHub }:
|
||||
{ pkgs, makeScope, libsForQt5, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
callPackage = newScope self;
|
||||
|
||||
self = rec {
|
||||
packages = self: with self; {
|
||||
|
||||
# For compiling information, see:
|
||||
# - https://github.com/lxde/lxqt/wiki/Building-from-source
|
||||
|
||||
|
||||
standardPatch = ''
|
||||
for file in $(find . -name CMakeLists.txt); do
|
||||
substituteInPlace $file \
|
||||
@ -57,7 +55,7 @@ let
|
||||
|
||||
### OPTIONAL
|
||||
qterminal = callPackage ./optional/qterminal { };
|
||||
compton-conf = callPackage ./optional/compton-conf { };
|
||||
compton-conf = pkgs.qt5.callPackage ./optional/compton-conf { };
|
||||
obconf-qt = callPackage ./optional/obconf-qt { };
|
||||
lximage-qt = callPackage ./optional/lximage-qt { };
|
||||
qps = callPackage ./optional/qps { };
|
||||
@ -66,14 +64,14 @@ let
|
||||
|
||||
preRequisitePackages = [
|
||||
pkgs.gvfs # virtual file systems support for PCManFM-QT
|
||||
pkgs.kde5.kwindowsystem # provides some QT5 plugins needed by lxqt-panel
|
||||
pkgs.kde5.libkscreen # provides plugins for screen management software
|
||||
pkgs.libsForQt5.kwindowsystem # provides some QT5 plugins needed by lxqt-panel
|
||||
pkgs.libsForQt5.libkscreen # provides plugins for screen management software
|
||||
pkgs.libfm
|
||||
pkgs.libfm-extra
|
||||
pkgs.lxmenu-data
|
||||
pkgs.menu-cache
|
||||
pkgs.openbox # default window manager
|
||||
pkgs.qt5.qtsvg # provides QT5 plugins for svg icons
|
||||
qt5.qtsvg # provides QT5 plugins for svg icons
|
||||
];
|
||||
|
||||
corePackages = [
|
||||
@ -120,7 +118,7 @@ let
|
||||
qlipper
|
||||
|
||||
### Default icon theme
|
||||
pkgs.kde5.oxygen-icons5
|
||||
pkgs.oxygen-icons5
|
||||
|
||||
### Screen saver
|
||||
pkgs.xscreensaver
|
||||
@ -128,4 +126,4 @@ let
|
||||
|
||||
};
|
||||
|
||||
in self
|
||||
in makeScope libsForQt5.newScope packages
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user