1{
2 mkDerivation,
3 lib,
4 kdepimTeam,
5 extra-cmake-modules,
6 kdoctools,
7 grantlee,
8 kcalendarcore,
9 kconfig,
10 kontactinterface,
11 kcoreaddons,
12 kidentitymanagement,
13 kpimtextedit,
14}:
15
16mkDerivation {
17 pname = "kcalutils";
18 meta = {
19 license = with lib.licenses; [
20 gpl2Plus
21 lgpl21Plus
22 fdl12Plus
23 ];
24 maintainers = kdepimTeam;
25 };
26 nativeBuildInputs = [
27 extra-cmake-modules
28 kdoctools
29 ];
30 buildInputs = [
31 grantlee
32 kcalendarcore
33 kconfig
34 kontactinterface
35 kcoreaddons
36 kidentitymanagement
37 kpimtextedit
38 ];
39 outputs = [
40 "out"
41 "dev"
42 ];
43 postInstall = ''
44 # added as an include directory by cmake files and fails to compile if it's missing
45 mkdir -p "$dev/include/KF5"
46 '';
47}