2015-04-10 16:02:57 +01:00
|
|
|
{ fetchurl, stdenv, pkgconfig, intltool, glib, gtk3
|
|
|
|
, libgsf, libxml2, libxslt, cairo, pango, librsvg, libspectre }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-05-24 11:17:43 +01:00
|
|
|
name = "goffice-0.10.22";
|
2015-04-10 16:02:57 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/goffice/0.10/${name}.tar.xz";
|
2015-05-24 11:17:43 +01:00
|
|
|
sha256 = "0206a87a323b52a874dc54491374245f9e1c5f62e93a2ce4a02fb444a26b0e28";
|
2015-04-10 16:02:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ # ToDo lasem library for MathML, opt. introspection?
|
|
|
|
glib gtk3 libxml2 cairo pango libgsf
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ libxslt librsvg ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Glib/GTK+ set of document centric objects and utilities";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
There are common operations for document centric applications that are
|
|
|
|
conceptually simple, but complex to implement fully: plugins, load/save
|
|
|
|
documents, undo/redo.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
|
|
};
|
|
|
|
}
|