nixpkgs/pkgs/applications/office/calligra/default.nix

56 lines
1.9 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, automoc4, cmake, perl, pkgconfig, kdelibs4, lcms2, libpng, eigen
2015-11-04 20:07:41 +00:00
, 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
, kactivities, okular, git, oxygen-icons5, makeWrapper
2015-11-04 20:07:41 +00:00
# TODO: not found
#, xbase, openjpeg
# TODO: package libWPS, Spnav, m2mml, LibEtonyek
}:
stdenv.mkDerivation rec {
2016-03-10 10:04:28 +00:00
name = "calligra-2.9.11";
src = fetchurl {
2013-08-23 17:00:28 +01:00
url = "mirror://kde/stable/${name}/${name}.tar.xz";
2016-03-10 10:04:28 +00:00
sha256 = "02gaahp7a7m53n0hvrp3868s8w37b457isxir0z7b4mwhw7jv3di";
};
2015-11-05 20:55:08 +00:00
nativeBuildInputs = [ automoc4 cmake perl pkgconfig makeWrapper ];
buildInputs = [
kdelibs4 lcms2 libpng eigen
2015-11-04 20:07:41 +00:00
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.out}/bin" \
--prefix XDG_DATA_DIRS ':' "${oxygen-icons5}/share"
2015-11-05 20:55:08 +00:00
done
'';
2016-06-01 01:37:24 +01:00
meta = with stdenv.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, 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 maintainers; [ phreedom ebzzry ];
inherit (kdelibs4.meta) platforms;
2016-06-01 01:37:24 +01:00
license = licenses.gpl2;
};
}