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