nixpkgs/pkgs/desktops/kde-5/plasma/breeze-qt4.nix

25 lines
596 B
Nix
Raw Normal View History

{
stdenv, lib, src, version,
automoc4, cmake, perl, pkgconfig,
kdelibs, qt4, xproto
2016-04-21 18:01:22 +02:00
}:
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 ];
2016-04-21 18:01:22 +02:00
cmakeFlags = [
"-DUSE_KDE4=ON"
"-DQT_QMAKE_EXECUTABLE=${qt4}/bin/qmake"
];
}