calligra: fix build

This commit is contained in:
gnidorah 2017-12-23 21:43:07 +03:00
parent a54a5d4bb0
commit dce66a7268

View File

@ -1,5 +1,5 @@
{
mkDerivation, lib, fetchurl, extra-cmake-modules, kdoctools, makeWrapper,
mkDerivation, lib, fetchurl, fetchpatch, extra-cmake-modules, kdoctools, makeWrapper,
boost, qtwebkit, qtx11extras, shared_mime_info,
breeze-icons, kactivities, karchive, kcodecs, kcompletion, kconfig, kconfigwidgets,
kcoreaddons, kdbusaddons, kdiagram, kguiaddons, khtml, ki18n,
@ -23,6 +23,16 @@ mkDerivation rec {
sha256 = "1cjdd7sx1zhas6lhw0dzhrnki790jkf93f88wn6z9yrww32dsas5";
};
enableParallelBuilding = true;
patches = [
(fetchpatch {
name = "calligra-build-with-newer-kcalcore.patch";
url = "https://github.com/KDE/calligra/commit/9a02a545e8606aa91aff2038da137226a9432e1a.diff";
sha256 = "08xays41v6rfnc31vixf4vbz8zmi2x5lfnk7f82bm4sgmpgfxwa0";
})
];
nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
buildInputs = [