summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/misc/goffice/default.nix
blob: d708ab92113a4b10cf6c0a5595e2863b0bb57ec9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ fetchurl, stdenv, pkgconfig, intltool, bzip2, glib, gdk_pixbuf, gtk3
, libgsf, libxml2, cairo, pango, librsvg, libspectre }:

stdenv.mkDerivation rec {
  name = "goffice-0.10.9";

  src = fetchurl {
    url = "mirror://gnome/sources/goffice/0.10/${name}.tar.xz";
    sha256 = "0xc82hymhkdglnksd3r7405p39d5ym826rwaa7dfkps5crjwq8cg";
  };

  propagatedBuildInputs = [ # ToDo lasem library for MathML, opt. introspection?
    pkgconfig intltool bzip2 glib gdk_pixbuf gtk3
    libgsf libxml2 cairo pango librsvg libspectre
  ];

  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 = "GPLv2+";

    platforms = stdenv.lib.platforms.gnu;
  };
  passthru = { inherit meta; };
}