2012-02-13 19:34:42 +00:00
|
|
|
{ stdenv, fetchurl, cmake, kdelibs, attica, perl, zlib, libpng, boost, mesa
|
|
|
|
, kdepimlibs, createresources ? null, eigen, qca2, exiv2, soprano, marble, lcms2
|
|
|
|
, fontconfig, freetype, sqlite, icu, libwpd, libwpg, pkgconfig, popplerQt4
|
2013-08-23 16:00:28 +00:00
|
|
|
, libkdcraw, libxslt, fftw, glew, gsl, shared_desktop_ontologies, okular
|
|
|
|
, libvisio, kactivities, mysql, postgresql, freetds, xbase, openexr, ilmbase
|
|
|
|
}:
|
2012-02-13 19:34:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-12-19 06:38:52 +00:00
|
|
|
name = "calligra-2.8.7";
|
2012-02-13 19:34:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-08-23 16:00:28 +00:00
|
|
|
url = "mirror://kde/stable/${name}/${name}.tar.xz";
|
2014-12-19 06:38:52 +00:00
|
|
|
sha256 = "1d8fx0xn8n8y6jglw8hhpk7kr6kbhsbaxqwqlfzmnzh7x9s8nsxg";
|
2012-02-13 19:34:42 +00:00
|
|
|
};
|
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ cmake perl pkgconfig ];
|
2012-02-13 19:34:42 +00:00
|
|
|
|
2013-08-23 16:00:28 +00:00
|
|
|
# patches = [ ./fix-kde4.10-build.patch ];
|
|
|
|
|
|
|
|
# TODO: package Vc, libWPS, OCIO, OpenShiva, QtShiva, Spnav, m2mml
|
|
|
|
# TODO: not found popplerQt4
|
2013-05-07 14:09:47 +00:00
|
|
|
|
2012-02-13 19:34:42 +00:00
|
|
|
buildInputs = [ kdelibs attica zlib libpng boost mesa kdepimlibs
|
|
|
|
createresources eigen qca2 exiv2 soprano marble lcms2 fontconfig freetype
|
|
|
|
sqlite icu libwpd libwpg popplerQt4 libkdcraw libxslt fftw glew gsl
|
2013-08-23 16:00:28 +00:00
|
|
|
shared_desktop_ontologies okular
|
|
|
|
libvisio kactivities mysql postgresql freetds xbase openexr
|
|
|
|
];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
|
2012-02-13 19:34:42 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Qt/KDE office suite, formely known as koffice";
|
|
|
|
homepage = http://calligra.org;
|
2013-05-07 14:09:47 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ urkud phreedom ];
|
2012-02-13 19:34:42 +00:00
|
|
|
inherit (kdelibs.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|