nixpkgs/pkgs/development/libraries/goffice/default.nix
2016-01-15 10:04:06 +01:00

36 lines
1,010 B
Nix

{ fetchurl, stdenv, pkgconfig, intltool, glib, gtk3
, libgsf, libxml2, libxslt, cairo, pango, librsvg, libspectre }:
stdenv.mkDerivation rec {
name = "goffice-0.10.26";
src = fetchurl {
url = "mirror://gnome/sources/goffice/0.10/${name}.tar.xz";
sha256 = "2b8dd0a0f84ef4f6bd32bfdae2b68caa0e41631026a74d04c4d2266512a744bb";
};
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;
};
}