nixpkgs/pkgs/development/libraries/goffice/default.nix

37 lines
1010 B
Nix
Raw Normal View History

2015-04-10 15:02:57 +00:00
{ fetchurl, stdenv, pkgconfig, intltool, glib, gtk3
, libgsf, libxml2, libxslt, cairo, pango, librsvg, libspectre }:
stdenv.mkDerivation rec {
name = "goffice-0.10.32";
2015-04-10 15:02:57 +00:00
src = fetchurl {
url = "mirror://gnome/sources/goffice/0.10/${name}.tar.xz";
sha256 = "02b37da9f54fb92725b973875d1d2da49b54f6486eb03648fd1ea58e4a297ac3";
2015-04-10 15:02:57 +00: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;
};
}