2014-03-13 21:54:58 +00:00
|
|
|
{ fetchurl, stdenv, pkgconfig, intltool, glib, gtk3
|
|
|
|
, libgsf, libxml2, libxslt, cairo, pango, librsvg, libspectre }:
|
2012-05-29 12:21:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-03-13 21:54:58 +00:00
|
|
|
name = "goffice-0.10.12";
|
2012-05-29 12:21:33 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-02-05 10:59:26 +00:00
|
|
|
url = "mirror://gnome/sources/goffice/0.10/${name}.tar.xz";
|
2014-03-13 21:54:58 +00:00
|
|
|
sha256 = "0vh0sdig5n8sxzh4xx82lm8y8d0jcdhc2ipb1kq02qs142zs74ff";
|
2012-05-29 12:21:33 +00:00
|
|
|
};
|
|
|
|
|
2014-03-13 21:54:58 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
2013-12-28 14:34:08 +00:00
|
|
|
propagatedBuildInputs = [ # ToDo lasem library for MathML, opt. introspection?
|
2014-03-13 21:54:58 +00:00
|
|
|
glib gtk3 libxml2 cairo pango libgsf
|
2012-05-29 12:21:33 +00:00
|
|
|
];
|
|
|
|
|
2014-03-13 21:54:58 +00:00
|
|
|
buildInputs = [ libxslt librsvg ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2012-05-29 12:21:33 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2013-12-28 14:34:08 +00:00
|
|
|
description = "A Glib/GTK+ set of document centric objects and utilities";
|
2012-05-29 12:21:33 +00:00
|
|
|
|
|
|
|
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 = "GPLv2+";
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
|
|
};
|
|
|
|
}
|