2012-02-13 20:34:42 +01:00
|
|
|
{ stdenv, fetchurl, cmake, kdelibs, attica, perl, zlib, libpng, boost, mesa
|
|
|
|
, kdepimlibs, createresources ? null, eigen, qca2, exiv2, soprano, marble, lcms2
|
2015-04-02 16:50:37 +02:00
|
|
|
, fontconfig, freetype, sqlite, icu, libwpd, libwpg, pkgconfig, poppler_qt4
|
2013-08-23 18:00:28 +02:00
|
|
|
, libkdcraw, libxslt, fftw, glew, gsl, shared_desktop_ontologies, okular
|
|
|
|
, libvisio, kactivities, mysql, postgresql, freetds, xbase, openexr, ilmbase
|
2015-01-11 16:02:13 +01:00
|
|
|
, libodfgen, opencolorio, openjpeg, pstoedit, librevenge
|
2013-08-23 18:00:28 +02:00
|
|
|
}:
|
2012-02-13 20:34:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-12-19 07:38:52 +01:00
|
|
|
name = "calligra-2.8.7";
|
2012-02-13 20:34:42 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-08-23 18:00:28 +02:00
|
|
|
url = "mirror://kde/stable/${name}/${name}.tar.xz";
|
2014-12-19 07:38:52 +01:00
|
|
|
sha256 = "1d8fx0xn8n8y6jglw8hhpk7kr6kbhsbaxqwqlfzmnzh7x9s8nsxg";
|
2012-02-13 20:34:42 +01:00
|
|
|
};
|
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ cmake perl pkgconfig ];
|
2012-02-13 20:34:42 +01:00
|
|
|
|
2015-01-11 16:02:13 +01:00
|
|
|
# TODO: package Vc, libWPS, Spnav, m2mml, LibEtonyek, poppler-qt4-xpdf-headers
|
|
|
|
# not found: xbase, openjpeg(too new)
|
2013-05-07 16:09:47 +02:00
|
|
|
|
2012-02-13 20:34:42 +01:00
|
|
|
buildInputs = [ kdelibs attica zlib libpng boost mesa kdepimlibs
|
|
|
|
createresources eigen qca2 exiv2 soprano marble lcms2 fontconfig freetype
|
2015-04-02 16:50:37 +02:00
|
|
|
sqlite icu libwpd libwpg poppler_qt4 libkdcraw libxslt fftw glew gsl
|
2015-01-11 16:02:13 +01:00
|
|
|
shared_desktop_ontologies okular libodfgen opencolorio openjpeg
|
2015-04-02 01:39:50 +02:00
|
|
|
libvisio kactivities mysql.lib postgresql freetds xbase openexr pstoedit
|
2015-01-11 16:02:13 +01:00
|
|
|
librevenge
|
|
|
|
];
|
|
|
|
|
|
|
|
patches = [ ./librevenge.patch ];
|
2013-08-23 18:00:28 +02:00
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
|
2012-02-13 20:34:42 +01:00
|
|
|
|
|
|
|
meta = {
|
2015-04-30 17:05:14 +02: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,
|
|
|
|
Sheets for computations, Stage for presentations, Plan for
|
|
|
|
planning, Flow for flowcharts, Kexi for database creation,
|
|
|
|
Krita for painting and raster drawing, and Karbon for
|
|
|
|
vector graphics.
|
|
|
|
'';
|
2012-02-13 20:34:42 +01:00
|
|
|
homepage = http://calligra.org;
|
2013-05-07 16:09:47 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ urkud phreedom ];
|
2012-02-13 20:34:42 +01:00
|
|
|
inherit (kdelibs.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|