plasma54: don't override mkDerivation
Provides a globally unique name (plasmaPackage) instead of using attribute paths as namespaces and locally overloading the mkDerivation name.
This commit is contained in:
parent
5ba93bd4c3
commit
8e9fca18e3
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, bluez-qt
|
, bluez-qt
|
||||||
, kcoreaddons
|
, kcoreaddons
|
||||||
@ -15,7 +15,7 @@
|
|||||||
, shared_mime_info
|
, shared_mime_info
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "bluedevil";
|
name = "bluedevil";
|
||||||
nativeBuildInputs = [ extra-cmake-modules shared_mime_info ];
|
nativeBuildInputs = [ extra-cmake-modules shared_mime_info ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, automoc4
|
, automoc4
|
||||||
, cmake
|
, cmake
|
||||||
, perl
|
, perl
|
||||||
@ -8,7 +8,7 @@
|
|||||||
, xproto
|
, xproto
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "breeze-qt4";
|
name = "breeze-qt4";
|
||||||
sname = "breeze";
|
sname = "breeze";
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, frameworkintegration
|
, frameworkintegration
|
||||||
, kcmutils
|
, kcmutils
|
||||||
@ -11,7 +11,7 @@
|
|||||||
, qtx11extras
|
, qtx11extras
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "breeze-qt5";
|
name = "breeze-qt5";
|
||||||
sname = "breeze";
|
sname = "breeze";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -17,13 +17,12 @@ let
|
|||||||
srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; };
|
srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; };
|
||||||
mirror = "mirror://kde";
|
mirror = "mirror://kde";
|
||||||
|
|
||||||
mkDerivation = args:
|
plasmaPackage = args:
|
||||||
let
|
let
|
||||||
inherit (stdenv) mkDerivation;
|
|
||||||
inherit (args) name;
|
inherit (args) name;
|
||||||
sname = args.sname or name;
|
sname = args.sname or name;
|
||||||
inherit (srcs."${sname}") src version;
|
inherit (srcs."${sname}") src version;
|
||||||
in mkDerivation (args // {
|
in stdenv.mkDerivation (args // {
|
||||||
name = "${name}-${version}";
|
name = "${name}-${version}";
|
||||||
inherit src;
|
inherit src;
|
||||||
|
|
||||||
@ -82,6 +81,6 @@ let
|
|||||||
systemsettings = callPackage ./systemsettings.nix {};
|
systemsettings = callPackage ./systemsettings.nix {};
|
||||||
};
|
};
|
||||||
|
|
||||||
newScope = scope: kdeApps.newScope ({ inherit mkDerivation; } // scope);
|
newScope = scope: kdeApps.newScope ({ inherit plasmaPackage; } // scope);
|
||||||
|
|
||||||
in lib.makeScope newScope addPackages
|
in lib.makeScope newScope addPackages
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kcmutils
|
, kcmutils
|
||||||
, kconfig
|
, kconfig
|
||||||
@ -12,7 +12,7 @@
|
|||||||
, qtx11extras
|
, qtx11extras
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "kde-cli-tools";
|
name = "kde-cli-tools";
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, glib
|
, glib
|
||||||
, gtk2
|
, gtk2
|
||||||
@ -12,7 +12,7 @@
|
|||||||
, knewstuff
|
, knewstuff
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "kde-gtk-config";
|
name = "kde-gtk-config";
|
||||||
nativeBuildInputs = [ extra-cmake-modules ];
|
nativeBuildInputs = [ extra-cmake-modules ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ mkDerivation, extra-cmake-modules }:
|
{ plasmaPackage, extra-cmake-modules }:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "kdecoration";
|
name = "kdecoration";
|
||||||
nativeBuildInputs = [ extra-cmake-modules ];
|
nativeBuildInputs = [ extra-cmake-modules ];
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, ibus
|
, ibus
|
||||||
@ -19,7 +19,7 @@
|
|||||||
, qtx11extras
|
, qtx11extras
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "kdeplasma-addons";
|
name = "kdeplasma-addons";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, kdelibs4support
|
, kdelibs4support
|
||||||
, qtx11extras
|
, qtx11extras
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "kgamma5";
|
name = "kgamma5";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, kconfig
|
, kconfig
|
||||||
@ -12,7 +12,7 @@
|
|||||||
, kservice
|
, kservice
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "khelpcenter";
|
name = "khelpcenter";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, kcmutils
|
, kcmutils
|
||||||
@ -13,7 +13,7 @@
|
|||||||
, qtx11extras
|
, qtx11extras
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "khotkeys";
|
name = "khotkeys";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, kcmutils
|
, kcmutils
|
||||||
@ -21,7 +21,7 @@
|
|||||||
, solid
|
, solid
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "kinfocenter";
|
name = "kinfocenter";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, ki18n
|
, ki18n
|
||||||
@ -10,7 +10,7 @@
|
|||||||
, kdelibs4support
|
, kdelibs4support
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "kmenuedit";
|
name = "kmenuedit";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kconfig
|
, kconfig
|
||||||
, kconfigwidgets
|
, kconfigwidgets
|
||||||
@ -11,7 +11,7 @@
|
|||||||
, qtdeclarative
|
, qtdeclarative
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "kscreen";
|
name = "kscreen";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, kcoreaddons
|
, kcoreaddons
|
||||||
@ -7,7 +7,7 @@
|
|||||||
, kwidgetsaddons
|
, kwidgetsaddons
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "ksshaskpass";
|
name = "ksshaskpass";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, kconfig
|
, kconfig
|
||||||
@ -11,7 +11,7 @@
|
|||||||
, libksysguard
|
, libksysguard
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "ksysguard";
|
name = "ksysguard";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, wayland
|
, wayland
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "kwayland";
|
name = "kwayland";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, epoxy
|
, epoxy
|
||||||
@ -36,7 +36,7 @@
|
|||||||
, xcb-util-cursor
|
, xcb-util-cursor
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "kwin";
|
name = "kwin";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kcoreaddons
|
, kcoreaddons
|
||||||
, ki18n
|
, ki18n
|
||||||
@ -7,7 +7,7 @@
|
|||||||
, kdbusaddons
|
, kdbusaddons
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "kwrited";
|
name = "kwrited";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, libXrandr
|
, libXrandr
|
||||||
, qtx11extras
|
, qtx11extras
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "libkscreen";
|
name = "libkscreen";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kauth
|
, kauth
|
||||||
, kcompletion
|
, kcompletion
|
||||||
@ -16,7 +16,7 @@
|
|||||||
, kiconthemes
|
, kiconthemes
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "libksysguard";
|
name = "libksysguard";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, qtscript
|
, qtscript
|
||||||
, qtdeclarative
|
, qtdeclarative
|
||||||
@ -10,7 +10,7 @@
|
|||||||
, krunner
|
, krunner
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "milou";
|
name = "milou";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, fontforge
|
, fontforge
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "oxygen-fonts";
|
name = "oxygen-fonts";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, ki18n
|
, ki18n
|
||||||
, kcmutils
|
, kcmutils
|
||||||
@ -13,7 +13,7 @@
|
|||||||
, qtx11extras
|
, qtx11extras
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "oxygen";
|
name = "oxygen";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
@ -43,7 +43,7 @@
|
|||||||
, utillinux
|
, utillinux
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "plasma-desktop";
|
name = "plasma-desktop";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, baloo
|
, baloo
|
||||||
, kactivities
|
, kactivities
|
||||||
@ -16,7 +16,7 @@
|
|||||||
, taglib
|
, taglib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "plasma-mediacenter";
|
name = "plasma-mediacenter";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, kcompletion
|
, kcompletion
|
||||||
@ -27,7 +27,7 @@
|
|||||||
, solid
|
, solid
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "plasma-nm";
|
name = "plasma-nm";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, glib
|
, glib
|
||||||
, kconfigwidgets
|
, kconfigwidgets
|
||||||
@ -10,7 +10,7 @@
|
|||||||
, plasma-framework
|
, plasma-framework
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "plasma-pa";
|
name = "plasma-pa";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "plasma-workspace-wallpapers";
|
name = "plasma-workspace-wallpapers";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, baloo
|
, baloo
|
||||||
@ -53,7 +53,7 @@
|
|||||||
, xsetroot
|
, xsetroot
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "plasma-workspace";
|
name = "plasma-workspace";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, ki18n
|
, ki18n
|
||||||
, kwindowsystem
|
, kwindowsystem
|
||||||
@ -12,7 +12,7 @@
|
|||||||
, polkitQt
|
, polkitQt
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "polkit-kde-agent";
|
name = "polkit-kde-agent";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, kactivities
|
, kactivities
|
||||||
@ -18,7 +18,7 @@
|
|||||||
, udev
|
, udev
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "powerdevil";
|
name = "powerdevil";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation
|
{ plasmaPackage
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, kitemviews
|
, kitemviews
|
||||||
@ -14,7 +14,7 @@
|
|||||||
, khtml
|
, khtml
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
plasmaPackage {
|
||||||
name = "systemsettings";
|
name = "systemsettings";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
|
Loading…
x
Reference in New Issue
Block a user