mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
d65af13533
Obviously there are more improvements that can be done here, especially moving headers to .dev, but that's not entirely trivial and probably not worth it since kde4 is old.
36 lines
828 B
Nix
36 lines
828 B
Nix
{ kde, pkgconfig, boost, cyrus_sasl, gpgme, libical, openldap, prison
|
|
, kdelibs, akonadi, libxslt, nepomuk_core
|
|
, shared_mime_info, shared_desktop_ontologies, qjson
|
|
, automoc4, cmake, perl
|
|
}:
|
|
|
|
kde {
|
|
outputs = [ "out" "dev" ];
|
|
|
|
outputInclude = "out";
|
|
|
|
setOutputFlags = false;
|
|
|
|
nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
|
|
|
|
cmakeFlags = [
|
|
"-DCMAKE_MINIMUM_REQUIRED_VERSION=3.3"
|
|
];
|
|
|
|
buildInputs =
|
|
[ boost gpgme libical libxslt qjson prison
|
|
openldap cyrus_sasl akonadi shared_desktop_ontologies
|
|
shared_mime_info
|
|
];
|
|
|
|
propagatedBuildInputs = [ kdelibs nepomuk_core ];
|
|
|
|
# Prevent a dependency on boost.dev. FIXME: move this cmake file to .dev.
|
|
postInstall = "rm $out/lib/gpgmepp/GpgmeppConfig.cmake";
|
|
|
|
meta = {
|
|
description = "KDE PIM libraries";
|
|
license = "LGPL";
|
|
};
|
|
}
|