2020-04-24 23:36:52 +00:00
|
|
|
{ fetchurl, stdenv, pkgconfig, intltool, glib, gtk3, lasem
|
|
|
|
, libgsf, libxml2, libxslt, cairo, pango, librsvg, gnome3 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "goffice";
|
2020-05-29 06:06:01 +00:00
|
|
|
version = "0.10.47";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-05-29 06:06:01 +00:00
|
|
|
sha256 = "0xmigfdzvmlpa0fw79mf3xwchmxc8rlidryn5syv8bz7msmrb215";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
glib gtk3 libxml2 cairo pango libgsf lasem
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ libxslt librsvg ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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.unix;
|
|
|
|
};
|
|
|
|
}
|