Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 92 lines 1.4 kB view raw
1{ 2 mkDerivation, 3 lib, 4 kdepimTeam, 5 extra-cmake-modules, 6 kdoctools, 7 akonadi, 8 akonadi-mime, 9 akonadi-notes, 10 akonadi-search, 11 gpgme, 12 grantlee, 13 grantleetheme, 14 karchive, 15 kcodecs, 16 kconfig, 17 kconfigwidgets, 18 kcontacts, 19 kiconthemes, 20 kidentitymanagement, 21 kio, 22 kjobwidgets, 23 kldap, 24 kmailtransport, 25 kmbox, 26 kmime, 27 kwindowsystem, 28 libgravatar, 29 libkdepim, 30 libkleo, 31 pimcommon, 32 qca-qt5, 33 qtwebengine, 34 syntax-highlighting, 35}: 36 37mkDerivation { 38 pname = "messagelib"; 39 meta = { 40 license = with lib.licenses; [ 41 gpl2Plus 42 lgpl21Plus 43 fdl12Plus 44 ]; 45 maintainers = kdepimTeam; 46 }; 47 nativeBuildInputs = [ 48 extra-cmake-modules 49 kdoctools 50 ]; 51 buildInputs = [ 52 akonadi-notes 53 akonadi-search 54 gpgme 55 grantlee 56 grantleetheme 57 karchive 58 kcodecs 59 kconfig 60 kconfigwidgets 61 kiconthemes 62 kio 63 kjobwidgets 64 kldap 65 kmailtransport 66 kmbox 67 kmime 68 kwindowsystem 69 libgravatar 70 libkdepim 71 qca-qt5 72 syntax-highlighting 73 ]; 74 propagatedBuildInputs = [ 75 akonadi 76 akonadi-mime 77 kcontacts 78 kidentitymanagement 79 kmime 80 libkleo 81 pimcommon 82 qtwebengine 83 ]; 84 outputs = [ 85 "out" 86 "dev" 87 ]; 88 postInstall = '' 89 # added as an include directory by cmake files and fails to compile if it's missing 90 mkdir -p "$dev/include/KF5" 91 ''; 92}