mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
8e9fca18e3
Provides a globally unique name (plasmaPackage) instead of using attribute paths as namespaces and locally overloading the mkDerivation name.
30 lines
360 B
Nix
30 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"
|
|
];
|
|
}
|