2018-12-24 14:57:38 +01:00
|
|
|
{ fetchurl, stdenv, pkgconfig, intltool, glib, gtk3, lasem
|
2018-12-24 12:37:51 +01:00
|
|
|
, libgsf, libxml2, libxslt, cairo, pango, librsvg, gnome3 }:
|
2015-04-10 17:02:57 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-24 12:37:51 +01:00
|
|
|
pname = "goffice";
|
|
|
|
version = "0.10.44";
|
2015-04-10 17:02:57 +02:00
|
|
|
|
2018-12-24 14:57:38 +01:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
2015-04-10 17:02:57 +02:00
|
|
|
src = fetchurl {
|
2018-12-24 12:37:51 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2018-12-16 06:01:06 +01:00
|
|
|
sha256 = "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d";
|
2015-04-10 17:02:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
2018-12-24 14:57:38 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
glib gtk3 libxml2 cairo pango libgsf lasem
|
2015-04-10 17:02:57 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ libxslt librsvg ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
|
2018-12-24 12:37:51 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-04-10 17:02:57 +02:00
|
|
|
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;
|
|
|
|
|
2017-05-04 21:41:54 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-04-10 17:02:57 +02:00
|
|
|
};
|
|
|
|
}
|