2021-03-09 03:18:52 +00:00
|
|
|
{ mkDerivation, lib, fetchurl, extra-cmake-modules, kdoctools
|
|
|
|
, boost, qtwebkit, qtx11extras, shared-mime-info
|
|
|
|
, 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, pcre, libgit2, libodfgen
|
|
|
|
, librevenge, libvisio, libwpd, libwpg, libwps, okular, openexr, openjpeg, phonon
|
|
|
|
, poppler, pstoedit, qca-qt5, vc
|
2020-04-24 23:36:52 +00:00
|
|
|
# TODO: package Spnav, m2mml LibEtonyek, Libqgit2
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "calligra";
|
2020-11-03 02:18:15 +00:00
|
|
|
version = "3.2.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
|
2020-11-03 02:18:15 +00:00
|
|
|
sha256 = "0iqi6z6gkck2afgy200dacgcspq7i7887alcj0pklm08hbmsdy5i";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
boost qtwebkit qtx11extras shared-mime-info
|
|
|
|
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
|
2020-09-25 04:45:31 +00:00
|
|
|
eigen git gsl ilmbase kproperty kreport lcms2 marble pcre libgit2 libodfgen librevenge
|
2020-04-24 23:36:52 +00:00
|
|
|
libvisio libwpd libwpg libwps okular openexr openjpeg phonon poppler qca-qt5 vc
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ kproperty ];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
qtWrapperArgs = [
|
|
|
|
"--prefix PATH : ${lib.getBin pstoedit}/bin"
|
|
|
|
"--prefix XDG_DATA_DIRS : ${breeze-icons}/share"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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,
|
|
|
|
Sheets for computations, Plan for planning, and Karbon for
|
|
|
|
vector graphics.
|
|
|
|
'';
|
|
|
|
homepage = "https://www.calligra.org/";
|
|
|
|
maintainers = with maintainers; [ phreedom ebzzry zraexy ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
|
|
|
};
|
|
|
|
}
|