about summary refs log tree commit diff
path: root/pkgs/applications/kde/akonadi-mime.nix
blob: b498fde26dfa47d9fdc810e34fdff6022f6f9b45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  mkDerivation, lib, kdepimTeam,
  extra-cmake-modules, shared-mime-info,
  akonadi, kdbusaddons, ki18n, kio, kitemmodels, kmime
}:

mkDerivation {
  pname = "akonadi-mime";
  meta = {
    license = with lib.licenses; [ gpl2 lgpl21 ];
    maintainers = kdepimTeam;
  };
  nativeBuildInputs = [ extra-cmake-modules shared-mime-info ];
  buildInputs = [ akonadi kdbusaddons ki18n kio kitemmodels kmime ];
  outputs = [ "out" "dev" ];
  postInstall = ''
    # added as an include directory by cmake files and fails to compile if it's missing
    mkdir -p "$dev/include/KF5"
  '';
}