2017-09-15 18:06:49 +01:00
|
|
|
{
|
2018-07-21 01:44:44 +01:00
|
|
|
mkDerivation, lib, fetchurl, extra-cmake-modules, kdoctools, makeWrapper,
|
2018-02-25 02:23:58 +00:00
|
|
|
boost, qtwebkit, qtx11extras, shared-mime-info,
|
2017-09-15 18:06:49 +01:00
|
|
|
breeze-icons, kactivities, karchive, kcodecs, kcompletion, kconfig, kconfigwidgets,
|
|
|
|
kcoreaddons, kdbusaddons, kdiagram, kguiaddons, khtml, ki18n,
|
|
|
|
kiconthemes, kitemviews, kjobwidgets, kcmutils, kdelibs4support, kio, kross,
|
|
|
|
knotifications, knotifyconfig, kparts, ktextwidgets, kwallet, kwidgetsaddons,
|
|
|
|
kwindowsystem, kxmlgui, sonnet, threadweaver,
|
|
|
|
kcontacts, akonadi, akonadi-calendar, akonadi-contacts,
|
|
|
|
eigen, git, gsl, ilmbase, kproperty, kreport, lcms2, marble, libgit2, libodfgen,
|
|
|
|
librevenge, libvisio, libwpd, libwpg, libwps, okular, openexr, openjpeg, phonon,
|
|
|
|
poppler, pstoedit, qca-qt5, vc
|
|
|
|
# TODO: package Spnav, m2mml LibEtonyek, Libqgit2
|
2015-09-27 16:11:01 +01:00
|
|
|
}:
|
2012-02-13 19:34:42 +00:00
|
|
|
|
2017-09-15 18:06:49 +01:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "calligra";
|
2018-04-25 02:38:17 +01:00
|
|
|
version = "3.1.0";
|
2012-02-13 19:34:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
|
2018-04-25 02:38:17 +01:00
|
|
|
sha256 = "0w782k0hprpb6viixnqz34sp0z5csv3prdby46z22qqkcipcs638";
|
2012-02-13 19:34:42 +00:00
|
|
|
};
|
|
|
|
|
2018-06-24 17:05:30 +01:00
|
|
|
patches = [ ./qt5_11.patch ];
|
|
|
|
|
2017-12-23 18:43:07 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-09-15 18:06:49 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
|
2012-02-13 19:34:42 +00:00
|
|
|
|
2015-09-27 16:11:01 +01:00
|
|
|
buildInputs = [
|
2018-02-25 02:23:58 +00:00
|
|
|
boost qtwebkit qtx11extras shared-mime-info
|
2017-09-15 18:06:49 +01:00
|
|
|
kactivities karchive kcodecs kcompletion kconfig kconfigwidgets kcoreaddons
|
|
|
|
kdbusaddons kdiagram kguiaddons khtml ki18n kiconthemes kitemviews
|
|
|
|
kjobwidgets kcmutils kdelibs4support kio kross knotifications knotifyconfig kparts
|
|
|
|
ktextwidgets kwallet kwidgetsaddons kwindowsystem kxmlgui sonnet threadweaver
|
|
|
|
kcontacts akonadi akonadi-calendar akonadi-contacts
|
|
|
|
eigen git gsl ilmbase kproperty kreport lcms2 marble libgit2 libodfgen librevenge
|
|
|
|
libvisio libwpd libwpg libwps okular openexr openjpeg phonon poppler qca-qt5 vc
|
2015-01-11 15:02:13 +00:00
|
|
|
];
|
|
|
|
|
2017-09-15 18:06:49 +01:00
|
|
|
propagatedUserEnvPkgs = [ kproperty ];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
|
2012-02-13 19:34:42 +00:00
|
|
|
|
2015-11-05 20:55:08 +00:00
|
|
|
postInstall = ''
|
|
|
|
for i in $out/bin/*; do
|
|
|
|
wrapProgram $i \
|
2016-08-23 02:37:05 +01:00
|
|
|
--prefix PATH ':' "${pstoedit.out}/bin" \
|
2017-09-15 18:06:49 +01:00
|
|
|
--prefix XDG_DATA_DIRS ':' "${breeze-icons}/share"
|
2015-11-05 20:55:08 +00:00
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2017-09-15 18:06:49 +01:00
|
|
|
meta = with lib; {
|
2015-04-30 16:05:14 +01:00
|
|
|
description = "A suite of productivity applications";
|
|
|
|
longDescription = ''
|
|
|
|
Calligra Suite is a set of applications written to help
|
|
|
|
you to accomplish your work. Calligra includes efficient
|
|
|
|
and capable office components: Words for text processing,
|
2017-09-15 18:06:49 +01:00
|
|
|
Sheets for computations, Plan for planning, and Karbon for
|
2015-04-30 16:05:14 +01:00
|
|
|
vector graphics.
|
|
|
|
'';
|
2017-09-15 18:06:49 +01:00
|
|
|
homepage = https://www.calligra.org/;
|
|
|
|
maintainers = with maintainers; [ phreedom ebzzry zraexy ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
2019-04-02 00:06:20 +01:00
|
|
|
hydraPlatforms = [];
|
|
|
|
broken = true; # fails to start, kde home not found
|
2012-02-13 19:34:42 +00:00
|
|
|
};
|
|
|
|
}
|