mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
44 lines
1.1 KiB
Nix
44 lines
1.1 KiB
Nix
{ fetchurl, stdenv, pkgconfig, intltool, glib, gtk3
|
|
, libgsf, libxml2, libxslt, cairo, pango, librsvg, gnome3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "goffice";
|
|
version = "0.10.44";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
propagatedBuildInputs = [ # ToDo lasem library for MathML, opt. introspection?
|
|
glib gtk3 libxml2 cairo pango libgsf
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|