depot/third_party/nixpkgs/pkgs/applications/kde/grantleetheme/default.nix

24 lines
682 B
Nix
Raw Normal View History

{
mkDerivation, lib, kdepimTeam,
extra-cmake-modules, kdoctools,
grantlee, ki18n, kiconthemes, knewstuff, kservice, kxmlgui, qtbase,
}:
mkDerivation {
pname = "grantleetheme";
meta = {
license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam;
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
grantlee ki18n kiconthemes knewstuff kservice kxmlgui qtbase
];
propagatedBuildInputs = [ grantlee kiconthemes knewstuff ];
postInstall = ''
# added as an include directory by cmake files and fails to compile if it's missing
mkdir -p "$dev/include/KF5"
'';
}