2022-03-25 19:21:09 +00:00
|
|
|
{ mkDerivation, fetchpatch, lib, extra-cmake-modules
|
2021-12-18 03:14:07 +00:00
|
|
|
, qtdeclarative, ki18n, kmime, kpkpass
|
2019-12-11 21:15:00 +00:00
|
|
|
, poppler, kcontacts, kcalendarcore
|
2020-04-05 00:37:05 +01:00
|
|
|
, 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 ];
|
|
|
|
};
|
2022-03-25 19:21:09 +00:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
# Fix build with poppler 22.03
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/KDE/kitinerary/commit/e21d1ffc5fa81a636245f49c97fe7cda63abbb1d.patch";
|
|
|
|
sha256 = "1/zgq9QIOCPplqplDqgpoqzuYFf/m1Ixxawe50t2F04=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-04-05 00:37:05 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
extra-cmake-modules
|
|
|
|
shared-mime-info # for update-mime-database
|
|
|
|
];
|
2018-08-20 12:44:05 +01:00
|
|
|
buildInputs = [
|
2021-12-18 03:14:07 +00:00
|
|
|
qtdeclarative kmime kpkpass poppler
|
2019-12-11 21:15:00 +00:00
|
|
|
kcontacts kcalendarcore
|
2018-08-20 12:44:05 +01:00
|
|
|
];
|
2021-12-18 03:14:07 +00: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" ];
|
|
|
|
}
|