Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 55 lines 870 B view raw
1{ 2 mkDerivation, 3 lib, 4 kdepimTeam, 5 extra-cmake-modules, 6 kdoctools, 7 akonadi, 8 akonadi-calendar, 9 akonadi-mime, 10 akonadi-notes, 11 kcalutils, 12 kholidays, 13 kidentitymanagement, 14 kmime, 15 pimcommon, 16 qttools, 17}: 18 19mkDerivation { 20 pname = "calendarsupport"; 21 meta = { 22 license = with lib.licenses; [ 23 gpl2Plus 24 lgpl21Plus 25 fdl12Plus 26 ]; 27 maintainers = kdepimTeam; 28 }; 29 nativeBuildInputs = [ 30 extra-cmake-modules 31 kdoctools 32 ]; 33 buildInputs = [ 34 akonadi 35 akonadi-mime 36 akonadi-notes 37 kcalutils 38 kholidays 39 pimcommon 40 qttools 41 ]; 42 propagatedBuildInputs = [ 43 akonadi-calendar 44 kidentitymanagement 45 kmime 46 ]; 47 outputs = [ 48 "out" 49 "dev" 50 ]; 51 postInstall = '' 52 # added as an include directory by cmake files and fails to compile if it's missing 53 mkdir -p "$dev/include/KF5" 54 ''; 55}