nixpkgs/pkgs/desktops/kde-5/plasma/breeze-qt4.nix
2016-07-29 13:52:17 -05:00

25 lines
596 B
Nix

{
stdenv, lib, src, version,
automoc4, cmake, perl, pkgconfig,
kdelibs, qt4, xproto
}:
stdenv.mkDerivation {
name = "breeze-qt4-${version}";
meta = {
license = with lib.licenses; [
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12
];
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ttuegel ];
homepage = "http://www.kde.org";
};
inherit src;
buildInputs = [ kdelibs qt4 xproto ];
nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
cmakeFlags = [
"-DUSE_KDE4=ON"
"-DQT_QMAKE_EXECUTABLE=${qt4}/bin/qmake"
];
}