2021-01-21 17:00:13 +00:00
|
|
|
{ fetchurl, lib, stdenv, pkg-config, intltool, glib, gtk3, lasem
|
2021-05-07 21:18:14 +00:00
|
|
|
, libgsf, libxml2, libxslt, cairo, pango, librsvg, gnome }:
|
2015-04-10 15:02:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-24 11:37:51 +00:00
|
|
|
pname = "goffice";
|
2023-02-19 09:15:03 +00:00
|
|
|
version = "0.10.55";
|
2015-04-10 15:02:57 +00:00
|
|
|
|
2018-12-24 13:57:38 +00:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
2015-04-10 15:02:57 +00:00
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2023-02-19 09:15:03 +00:00
|
|
|
sha256 = "FqIhGRhVpqbA0Gse+OSBzz9SBBplTsltNYFwRboama8=";
|
2015-04-10 15:02:57 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config intltool ];
|
2015-04-10 15:02:57 +00:00
|
|
|
|
2018-12-24 13:57:38 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
glib gtk3 libxml2 cairo pango libgsf lasem
|
2015-04-10 15:02:57 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ libxslt librsvg ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2022-04-22 09:59:20 +00:00
|
|
|
doCheck = !stdenv.hostPlatform.isPower64;
|
2015-04-10 15:02:57 +00:00
|
|
|
|
2018-12-24 11:37:51 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-12-24 11:37:51 +00:00
|
|
|
packageName = pname;
|
2021-03-20 23:57:24 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-12-24 11:37:51 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-04-10 15:02:57 +00:00
|
|
|
meta = {
|
2019-09-03 22:49:40 +00:00
|
|
|
description = "A Glib/GTK set of document centric objects and utilities";
|
2015-04-10 15:02:57 +00:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
There are common operations for document centric applications that are
|
|
|
|
conceptually simple, but complex to implement fully: plugins, load/save
|
|
|
|
documents, undo/redo.
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2015-04-10 15:02:57 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2015-04-10 15:02:57 +00:00
|
|
|
};
|
|
|
|
}
|