1{ fetchurl, stdenv, pkgconfig, intltool, glib, gtk3
2, libgsf, libxml2, libxslt, cairo, pango, librsvg, libspectre }:
3
4stdenv.mkDerivation rec {
5 name = "goffice-0.10.38";
6
7 src = fetchurl {
8 url = "mirror://gnome/sources/goffice/0.10/${name}.tar.xz";
9 sha256 = "443199d7a9833fddaadfc4f9065c289e639eed480de316f37da816e396bb9764";
10 };
11
12 nativeBuildInputs = [ pkgconfig intltool ];
13
14 propagatedBuildInputs = [ # ToDo lasem library for MathML, opt. introspection?
15 glib gtk3 libxml2 cairo pango libgsf
16 ];
17
18 buildInputs = [ libxslt librsvg ];
19
20 enableParallelBuilding = true;
21 doCheck = true;
22
23 meta = {
24 description = "A Glib/GTK+ set of document centric objects and utilities";
25
26 longDescription = ''
27 There are common operations for document centric applications that are
28 conceptually simple, but complex to implement fully: plugins, load/save
29 documents, undo/redo.
30 '';
31
32 license = stdenv.lib.licenses.gpl2Plus;
33
34 platforms = stdenv.lib.platforms.unix;
35 };
36}