forked from mirrors/nixpkgs
2e0589b4ca
Upstream changes to the build system required adjusting many packages' dependencies. On the Nixpkgs side, we no longer propagate the dependency on cmake (to reduce closure size), so downstream dependencies had to be adjusted for most packages that depend on kdelibs.
51 lines
1.9 KiB
Nix
51 lines
1.9 KiB
Nix
{ stdenv, fetchurl, automoc4, cmake, kdelibs, attica, perl, zlib, libpng, boost, mesa
|
|
, kdepimlibs, createresources ? null, eigen, qca2, exiv2, soprano, marble, lcms2
|
|
, fontconfig, freetype, sqlite, icu, libwpd, libwpg, pkgconfig, poppler_qt4
|
|
, libkdcraw, libxslt, fftw, glew, gsl, shared_desktop_ontologies, okular
|
|
, libvisio, kactivities, mysql, postgresql, freetds, xbase, openexr, ilmbase
|
|
, libodfgen, opencolorio, openjpeg, pstoedit, librevenge
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "calligra-2.8.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/${name}/${name}.tar.xz";
|
|
sha256 = "1d8fx0xn8n8y6jglw8hhpk7kr6kbhsbaxqwqlfzmnzh7x9s8nsxg";
|
|
};
|
|
|
|
nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
|
|
|
|
# TODO: package Vc, libWPS, Spnav, m2mml, LibEtonyek, poppler-qt4-xpdf-headers
|
|
# not found: xbase, openjpeg(too new)
|
|
|
|
buildInputs = [
|
|
kdelibs attica zlib libpng boost mesa kdepimlibs
|
|
createresources eigen qca2 exiv2 soprano marble lcms2 fontconfig freetype
|
|
sqlite icu libwpd libwpg poppler_qt4 libkdcraw libxslt fftw glew gsl
|
|
shared_desktop_ontologies okular libodfgen opencolorio openjpeg
|
|
libvisio kactivities mysql.lib postgresql freetds xbase openexr pstoedit
|
|
librevenge
|
|
];
|
|
|
|
patches = [ ./librevenge.patch ];
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
|
|
|
|
meta = {
|
|
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.
|
|
'';
|
|
homepage = http://calligra.org;
|
|
maintainers = with stdenv.lib.maintainers; [ urkud phreedom ];
|
|
inherit (kdelibs.meta) platforms;
|
|
};
|
|
}
|