3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/kde/kitinerary.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
881 B
Nix
Raw Normal View History

{ mkDerivation, fetchpatch, lib, extra-cmake-modules
, qtdeclarative, ki18n, kmime, kpkpass
, poppler, kcontacts, kcalendarcore
, shared-mime-info
2018-08-20 12:44:05 +01:00
}:
mkDerivation {
2020-12-24 23:05:07 +00:00
pname = "kitinerary";
2018-08-20 12:44:05 +01:00
meta = {
license = with lib.licenses; [ lgpl21 ];
maintainers = [ lib.maintainers.bkchr ];
};
patches = [
# Fix build with poppler 22.03
(fetchpatch {
url = "https://github.com/KDE/kitinerary/commit/e21d1ffc5fa81a636245f49c97fe7cda63abbb1d.patch";
sha256 = "1/zgq9QIOCPplqplDqgpoqzuYFf/m1Ixxawe50t2F04=";
})
];
nativeBuildInputs = [
extra-cmake-modules
shared-mime-info # for update-mime-database
];
2018-08-20 12:44:05 +01:00
buildInputs = [
qtdeclarative kmime kpkpass poppler
kcontacts kcalendarcore
2018-08-20 12:44:05 +01:00
];
CXXFLAGS = [
"-I${lib.getDev ki18n}/include/KF5" # Fixes: ki18n_version.h: No such file or directory
];
2018-08-20 12:44:05 +01:00
outputs = [ "out" "dev" ];
}