1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/applications/office/calligra/default.nix

55 lines
1.9 KiB
Nix
Raw Normal View History

2015-11-04 20:07:41 +00:00
{ stdenv, fetchurl, automoc4, cmake, perl, pkgconfig, kdelibs, lcms2, libpng, eigen
, exiv2, boost, sqlite, icu, vc, shared_mime_info, librevenge, libodfgen, libwpg
, libwpd, poppler_qt4, ilmbase, gsl, qca2, marble, libvisio, libmysql, postgresql
, freetds, fftw, glew, libkdcraw, pstoedit, opencolorio, kdepimlibs
2015-11-05 20:55:08 +00:00
, kactivities, okular, git, oxygen_icons, makeWrapper
2015-11-04 20:07:41 +00:00
# TODO: not found
#, xbase, openjpeg
# TODO: package libWPS, Spnav, m2mml, LibEtonyek
}:
stdenv.mkDerivation rec {
2015-11-04 20:07:41 +00:00
name = "calligra-2.9.8";
src = fetchurl {
2013-08-23 17:00:28 +01:00
url = "mirror://kde/stable/${name}/${name}.tar.xz";
2015-11-04 20:07:41 +00:00
sha256 = "08a5k8gjmzp9yzq46xy0p1sw7dpvxmxh8zz6dyj8q1dq29719kkc";
};
2015-11-05 20:55:08 +00:00
nativeBuildInputs = [ automoc4 cmake perl pkgconfig makeWrapper ];
buildInputs = [
2015-11-04 20:07:41 +00:00
kdelibs lcms2 libpng eigen
exiv2 boost sqlite icu vc shared_mime_info librevenge libodfgen libwpg
libwpd poppler_qt4 ilmbase gsl qca2 marble libvisio libmysql postgresql
2015-11-05 20:55:08 +00:00
freetds fftw glew libkdcraw opencolorio kdepimlibs
2015-11-04 20:07:41 +00:00
kactivities okular git
];
2015-11-04 20:07:41 +00:00
enableParallelBuilding = true;
2015-11-05 20:55:08 +00:00
postInstall = ''
for i in $out/bin/*; do
wrapProgram $i \
--prefix PATH ':' "${pstoedit}/bin" \
--prefix XDG_DATA_DIRS ':' "${oxygen_icons}/share"
done
'';
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;
2013-05-07 15:09:47 +01:00
maintainers = with stdenv.lib.maintainers; [ urkud phreedom ];
inherit (kdelibs.meta) platforms;
};
}