8e9fca18e3
Provides a globally unique name (plasmaPackage) instead of using attribute paths as namespaces and locally overloading the mkDerivation name.
29 lines
360 B
Nix
29 lines
360 B
Nix
{ plasmaPackage
|
|
, automoc4
|
|
, cmake
|
|
, perl
|
|
, pkgconfig
|
|
, kdelibs
|
|
, qt4
|
|
, xproto
|
|
}:
|
|
|
|
plasmaPackage {
|
|
name = "breeze-qt4";
|
|
sname = "breeze";
|
|
buildInputs = [
|
|
kdelibs
|
|
qt4
|
|
xproto
|
|
];
|
|
nativeBuildInputs = [
|
|
automoc4
|
|
cmake
|
|
perl
|
|
pkgconfig
|
|
];
|
|
cmakeFlags = [
|
|
"-DUSE_KDE4=ON"
|
|
"-DQT_QMAKE_EXECUTABLE=${qt4}/bin/qmake"
|
|
];
|
|
}
|