forked from mirrors/nixpkgs
8e9fca18e3
Provides a globally unique name (plasmaPackage) instead of using attribute paths as namespaces and locally overloading the mkDerivation name.
40 lines
651 B
Nix
40 lines
651 B
Nix
{ plasmaPackage
|
|
, extra-cmake-modules
|
|
, bluez-qt
|
|
, kcoreaddons
|
|
, kdbusaddons
|
|
, kded
|
|
, ki18n
|
|
, kiconthemes
|
|
, kio
|
|
, knotifications
|
|
, kwidgetsaddons
|
|
, kwindowsystem
|
|
, plasma-framework
|
|
, qtdeclarative
|
|
, shared_mime_info
|
|
}:
|
|
|
|
plasmaPackage {
|
|
name = "bluedevil";
|
|
nativeBuildInputs = [ extra-cmake-modules shared_mime_info ];
|
|
buildInputs = [
|
|
bluez-qt
|
|
kcoreaddons
|
|
kdbusaddons
|
|
kded
|
|
ki18n
|
|
kiconthemes
|
|
kio
|
|
knotifications
|
|
kwidgetsaddons
|
|
kwindowsystem
|
|
plasma-framework
|
|
qtdeclarative
|
|
];
|
|
postInstall = ''
|
|
wrapKDEProgram "$out/bin/bluedevil-wizard"
|
|
wrapKDEProgram "$out/bin/bluedevil-sendfile"
|
|
'';
|
|
}
|