3
0
Fork 0
forked from mirrors/nixpkgs

plasma5: rename name to pname

This commit is contained in:
Felix Buehler 2022-03-06 22:28:56 +01:00
parent 9df2200638
commit e728776b56
50 changed files with 52 additions and 53 deletions

View file

@ -6,7 +6,7 @@
}: }:
mkDerivation { mkDerivation {
name = "bluedevil"; pname = "bluedevil";
nativeBuildInputs = [ extra-cmake-modules shared-mime-info ]; nativeBuildInputs = [ extra-cmake-modules shared-mime-info ];
buildInputs = [ buildInputs = [
qtbase qtdeclarative bluez-qt qtbase qtdeclarative bluez-qt

View file

@ -3,7 +3,7 @@
}: }:
mkDerivation { mkDerivation {
name = "breeze-grub"; pname = "breeze-grub";
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall

View file

@ -3,7 +3,7 @@
let inherit (lib) getLib; in let inherit (lib) getLib; in
mkDerivation { mkDerivation {
name = "breeze-gtk"; pname = "breeze-gtk";
nativeBuildInputs = [ extra-cmake-modules sassc python3 python3.pkgs.pycairo breeze-qt5 ]; nativeBuildInputs = [ extra-cmake-modules sassc python3 python3.pkgs.pycairo breeze-qt5 ];
buildInputs = [ qtbase ]; buildInputs = [ qtbase ];
patches = [ patches = [

View file

@ -24,7 +24,7 @@ in
mkDerivation { mkDerivation {
name = "breeze-plymouth"; pname = "breeze-plymouth";
nativeBuildInputs = [ extra-cmake-modules ] ++ lib.optionals (logoFile != null) [ imagemagick netpbm perl ]; nativeBuildInputs = [ extra-cmake-modules ] ++ lib.optionals (logoFile != null) [ imagemagick netpbm perl ];
buildInputs = [ plymouth ]; buildInputs = [ plymouth ];
patches = [ patches = [

View file

@ -7,7 +7,7 @@
}: }:
mkDerivation { mkDerivation {
name = "breeze-qt5"; pname = "breeze-qt5";
sname = "breeze"; sname = "breeze";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -76,8 +76,8 @@ let
mkDerivation = args: mkDerivation = args:
let let
inherit (args) name; inherit (args) pname;
sname = args.sname or name; sname = args.sname or pname;
inherit (srcs.${sname}) src version; inherit (srcs.${sname}) src version;
outputs = args.outputs or [ "out" ]; outputs = args.outputs or [ "out" ];
@ -98,8 +98,7 @@ let
}; };
in in
mkDerivation (args // { mkDerivation (args // {
name = "${name}-${version}"; inherit pname version meta outputs setupHook src;
inherit meta outputs setupHook src;
}); });
}; };

View file

@ -32,7 +32,7 @@
}: }:
mkDerivation { mkDerivation {
name = "discover"; pname = "discover";
nativeBuildInputs = [ extra-cmake-modules gettext kdoctools python3 ]; nativeBuildInputs = [ extra-cmake-modules gettext kdoctools python3 ];
buildInputs = [ buildInputs = [
# discount is needed for libmarkdown # discount is needed for libmarkdown

View file

@ -6,7 +6,7 @@
}: }:
mkDerivation { mkDerivation {
name = "kactivitymanagerd"; pname = "kactivitymanagerd";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ buildInputs = [
boost kconfig kcoreaddons kdbusaddons kglobalaccel ki18n kio kwindowsystem boost kconfig kcoreaddons kdbusaddons kglobalaccel ki18n kio kwindowsystem

View file

@ -5,7 +5,7 @@
}: }:
mkDerivation { mkDerivation {
name = "kde-cli-tools"; pname = "kde-cli-tools";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kcmutils kconfig kdesu ki18n kiconthemes kinit kio kwindowsystem qtsvg kcmutils kconfig kdesu ki18n kiconthemes kinit kio kwindowsystem qtsvg

View file

@ -6,7 +6,7 @@
}: }:
mkDerivation { mkDerivation {
name = "kde-gtk-config"; pname = "kde-gtk-config";
nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook ]; nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook ];
dontWrapGApps = true; # There is nothing to wrap dontWrapGApps = true; # There is nothing to wrap
buildInputs = [ buildInputs = [

View file

@ -1,7 +1,7 @@
{ mkDerivation, lib, extra-cmake-modules, qtbase, ki18n }: { mkDerivation, lib, extra-cmake-modules, qtbase, ki18n }:
mkDerivation { mkDerivation {
name = "kdecoration"; pname = "kdecoration";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ qtbase ki18n ]; buildInputs = [ qtbase ki18n ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View file

@ -8,7 +8,7 @@
}: }:
mkDerivation { mkDerivation {
name = "kdeplasma-addons"; pname = "kdeplasma-addons";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kconfig kconfigwidgets kcoreaddons kcmutils kholidays kio kconfig kconfigwidgets kcoreaddons kcmutils kholidays kio

View file

@ -5,7 +5,7 @@
}: }:
mkDerivation { mkDerivation {
name = "kgamma5"; pname = "kgamma5";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ kconfig kconfigwidgets ki18n qtx11extras libXxf86vm ]; buildInputs = [ kconfig kconfigwidgets ki18n qtx11extras libXxf86vm ];
} }

View file

@ -7,7 +7,7 @@
}: }:
mkDerivation { mkDerivation {
name = "khotkeys"; pname = "khotkeys";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kcmutils kdbusaddons kdelibs4support kglobalaccel ki18n kio kxmlgui kcmutils kdbusaddons kdelibs4support kglobalaccel ki18n kio kxmlgui

View file

@ -9,7 +9,7 @@
}: }:
mkDerivation { mkDerivation {
name = "kinfocenter"; pname = "kinfocenter";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons

View file

@ -6,7 +6,7 @@
}: }:
mkDerivation { mkDerivation {
name = "kmenuedit"; pname = "kmenuedit";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kdbusaddons khotkeys ki18n kiconthemes kio kxmlgui sonnet kdbusaddons khotkeys ki18n kiconthemes kio kxmlgui sonnet

View file

@ -7,7 +7,7 @@
}: }:
mkDerivation { mkDerivation {
name = "kscreen"; pname = "kscreen";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ buildInputs = [
kconfig kcmutils kconfigwidgets kdbusaddons kglobalaccel ki18n kconfig kcmutils kconfigwidgets kdbusaddons kglobalaccel ki18n

View file

@ -7,7 +7,7 @@
}: }:
mkDerivation { mkDerivation {
name = "kscreenlocker"; pname = "kscreenlocker";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kcmutils kcrash kdeclarative kglobalaccel kidletime kwayland kcmutils kcrash kdeclarative kglobalaccel kidletime kwayland

View file

@ -5,7 +5,7 @@
}: }:
mkDerivation { mkDerivation {
name = "ksshaskpass"; pname = "ksshaskpass";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ kcoreaddons ki18n kwallet kwidgetsaddons qtbase ]; buildInputs = [ kcoreaddons ki18n kwallet kwidgetsaddons qtbase ];
} }

View file

@ -4,7 +4,7 @@
}: }:
mkDerivation { mkDerivation {
name = "ksystemstats"; pname = "ksystemstats";
NIX_CFLAGS_COMPILE = [ "-I${lib.getBin libksysguard}/share" ]; NIX_CFLAGS_COMPILE = [ "-I${lib.getBin libksysguard}/share" ];
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ libksysguard libnl lm_sensors networkmanager-qt ]; buildInputs = [ libksysguard libnl lm_sensors networkmanager-qt ];

View file

@ -1,7 +1,7 @@
{ mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, kwallet, }: { mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, kwallet, }:
mkDerivation { mkDerivation {
name = "kwallet-pam"; pname = "kwallet-pam";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ pam socat libgcrypt qtbase kwallet ]; buildInputs = [ pam socat libgcrypt qtbase kwallet ];
postPatch = '' postPatch = ''

View file

@ -6,7 +6,7 @@
}: }:
mkDerivation { mkDerivation {
name = "kwayland-integration"; pname = "kwayland-integration";
nativeBuildInputs = [ extra-cmake-modules wayland-scanner ]; nativeBuildInputs = [ extra-cmake-modules wayland-scanner ];
buildInputs = [ kguiaddons kidletime kwindowsystem kwayland qtbase wayland-protocols wayland ]; buildInputs = [ kguiaddons kidletime kwindowsystem kwayland qtbase wayland-protocols wayland ];
} }

View file

@ -6,7 +6,7 @@
}: }:
mkDerivation { mkDerivation {
name = "kwayland-server"; pname = "kwayland-server";
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
extra-cmake-modules #kdoctools extra-cmake-modules #kdoctools

View file

@ -18,7 +18,7 @@
# TODO (ttuegel): investigate qmlplugindump failure # TODO (ttuegel): investigate qmlplugindump failure
mkDerivation { mkDerivation {
name = "kwin"; pname = "kwin";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
libepoxy lcms2 libICE libSM libcap libdrm libinput libxkbcommon mesa pipewire libepoxy lcms2 libICE libSM libcap libdrm libinput libxkbcommon mesa pipewire

View file

@ -5,7 +5,7 @@
}: }:
mkDerivation { mkDerivation {
name = "kwrited"; pname = "kwrited";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kcoreaddons kdbusaddons ki18n knotifications kpty qtbase ]; buildInputs = [ kcoreaddons kdbusaddons ki18n knotifications kpty qtbase ];
} }

View file

@ -4,7 +4,7 @@
}: }:
mkDerivation { mkDerivation {
name = "layer-shell-qt"; pname = "layer-shell-qt";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kguiaddons kidletime kwindowsystem kwayland qtbase wayland-scanner wayland wayland-protocols ]; buildInputs = [ kguiaddons kidletime kwindowsystem kwayland qtbase wayland-scanner wayland wayland-protocols ];
} }

View file

@ -8,7 +8,7 @@
}: }:
mkDerivation { mkDerivation {
name = "libkscreen"; pname = "libkscreen";
nativeBuildInputs = [ extra-cmake-modules wayland-scanner ]; nativeBuildInputs = [ extra-cmake-modules wayland-scanner ];
buildInputs = [ kwayland plasma-wayland-protocols wayland libXrandr qtx11extras ]; buildInputs = [ kwayland plasma-wayland-protocols wayland libXrandr qtx11extras ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View file

@ -7,7 +7,7 @@
}: }:
mkDerivation { mkDerivation {
name = "libksysguard"; pname = "libksysguard";
patches = [ patches = [
./0001-qdiriterator-follow-symlinks.patch ./0001-qdiriterator-follow-symlinks.patch
]; ];

View file

@ -6,7 +6,7 @@
}: }:
mkDerivation { mkDerivation {
name = "milou"; pname = "milou";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ buildInputs = [
kcoreaddons kdeclarative ki18n kitemmodels krunner kservice plasma-framework kcoreaddons kdeclarative ki18n kitemmodels krunner kservice plasma-framework

View file

@ -7,7 +7,7 @@
}: }:
mkDerivation { mkDerivation {
name = "oxygen"; pname = "oxygen";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
propagatedBuildInputs = [ propagatedBuildInputs = [
frameworkintegration kcmutils kcompletion kconfig kdecoration kguiaddons frameworkintegration kcmutils kcompletion kconfig kdecoration kguiaddons

View file

@ -7,7 +7,7 @@
}: }:
mkDerivation { mkDerivation {
name = "plasma-browser-integration"; pname = "plasma-browser-integration";
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
]; ];

View file

@ -17,7 +17,7 @@
}: }:
mkDerivation { mkDerivation {
name = "plasma-desktop"; pname = "plasma-desktop";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
boost fontconfig ibus libcanberra_kde libpulseaudio libXcursor libXft xorgserver boost fontconfig ibus libcanberra_kde libpulseaudio libXcursor libXft xorgserver

View file

@ -7,7 +7,7 @@
}: }:
mkDerivation { mkDerivation {
name = "plasma-disks"; pname = "plasma-disks";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kcmutils kconfig kdbusaddons khtml ki18n kiconthemes kio kitemviews kservice kcmutils kconfig kdbusaddons khtml ki18n kiconthemes kio kitemviews kservice

View file

@ -8,7 +8,7 @@
# TODO: install Noto Sans and Oxygen Mono fonts with plasma-integration # TODO: install Noto Sans and Oxygen Mono fonts with plasma-integration
mkDerivation { mkDerivation {
name = "plasma-integration"; pname = "plasma-integration";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ buildInputs = [
breeze-qt5 kconfig kconfigwidgets kiconthemes kio knotifications kwayland breeze-qt5 kconfig kconfigwidgets kiconthemes kio knotifications kwayland

View file

@ -5,7 +5,7 @@
}: }:
mkDerivation { mkDerivation {
name = "plasma-nano"; pname = "plasma-nano";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ buildInputs = [
plasma-framework plasma-framework

View file

@ -11,7 +11,7 @@
}: }:
mkDerivation { mkDerivation {
name = "plasma-nm"; pname = "plasma-nm";
nativeBuildInputs = [ extra-cmake-modules kdoctools qttools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools qttools ];
buildInputs = [ buildInputs = [
kdeclarative ki18n kio kwindowsystem plasma-framework kcompletion kdeclarative ki18n kio kwindowsystem plasma-framework kcompletion

View file

@ -7,7 +7,7 @@
}: }:
mkDerivation { mkDerivation {
name = "plasma-pa"; pname = "plasma-pa";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
gconf glib libcanberra-gtk3 libpulseaudio sound-theme-freedesktop gconf glib libcanberra-gtk3 libpulseaudio sound-theme-freedesktop

View file

@ -16,7 +16,7 @@
let inherit (lib) getBin getLib; in let inherit (lib) getBin getLib; in
mkDerivation { mkDerivation {
name = "plasma-phone-components"; pname = "plasma-phone-components";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [

View file

@ -20,7 +20,7 @@
}: }:
mkDerivation { mkDerivation {
name = "plasma-sdk"; pname = "plasma-sdk";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
karchive karchive

View file

@ -15,7 +15,7 @@
}: }:
mkDerivation { mkDerivation {
name = "plasma-systemmonitor"; pname = "plasma-systemmonitor";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
qtquickcontrols2 qtquickcontrols2

View file

@ -6,7 +6,7 @@
}: }:
mkDerivation { mkDerivation {
name = "plasma-thunderbolt"; pname = "plasma-thunderbolt";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ buildInputs = [
kcmutils kcmutils

View file

@ -14,7 +14,7 @@
}: }:
mkDerivation { mkDerivation {
name = "plasma-vault"; pname = "plasma-vault";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
patches = [ patches = [

View file

@ -1,6 +1,6 @@
{ mkDerivation , extra-cmake-modules }: { mkDerivation , extra-cmake-modules }:
mkDerivation { mkDerivation {
name = "plasma-workspace-wallpapers"; pname = "plasma-workspace-wallpapers";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
} }

View file

@ -23,7 +23,7 @@
let inherit (lib) getBin getLib; in let inherit (lib) getBin getLib; in
mkDerivation { mkDerivation {
name = "plasma-workspace"; pname = "plasma-workspace";
passthru.providedSessions = [ "plasma" "plasmawayland" ]; passthru.providedSessions = [ "plasma" "plasmawayland" ];
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -5,7 +5,7 @@
}: }:
mkDerivation { mkDerivation {
name = "polkit-kde-agent"; pname = "polkit-kde-agent";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kdbusaddons kwidgetsaddons kcoreaddons kcrash kconfig ki18n kiconthemes kdbusaddons kwidgetsaddons kcoreaddons kcrash kconfig ki18n kiconthemes

View file

@ -7,7 +7,7 @@
}: }:
mkDerivation { mkDerivation {
name = "powerdevil"; pname = "powerdevil";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kconfig kdbusaddons knotifyconfig solid udev bluez-qt kactivities kauth kconfig kdbusaddons knotifyconfig solid udev bluez-qt kactivities kauth

View file

@ -12,7 +12,7 @@
}: }:
mkDerivation { mkDerivation {
name = "qqc2-breeze-style"; pname = "qqc2-breeze-style";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kconfig kconfig

View file

@ -17,7 +17,7 @@
}: }:
mkDerivation { mkDerivation {
name = "sddm-kcm"; pname = "sddm-kcm";
nativeBuildInputs = [ extra-cmake-modules shared-mime-info ]; nativeBuildInputs = [ extra-cmake-modules shared-mime-info ];
buildInputs = [ buildInputs = [
libpthreadstubs libpthreadstubs

View file

@ -6,7 +6,7 @@
}: }:
mkDerivation { mkDerivation {
name = "systemsettings"; pname = "systemsettings";
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ buildInputs = [
kcmutils kconfig kdbusaddons khtml ki18n kiconthemes kio kitemviews kservice kcmutils kconfig kdbusaddons khtml ki18n kiconthemes kio kitemviews kservice

View file

@ -8,7 +8,7 @@
}: }:
mkDerivation { mkDerivation {
name = "xdg-desktop-portal-kde"; pname = "xdg-desktop-portal-kde";
nativeBuildInputs = [ extra-cmake-modules gettext kdoctools ]; nativeBuildInputs = [ extra-cmake-modules gettext kdoctools ];
buildInputs = [ buildInputs = [
cups libepoxy mesa pcre pipewire wayland wayland-protocols cups libepoxy mesa pcre pipewire wayland wayland-protocols