goffice: add updateScript

This commit is contained in:
Jan Tojnar 2018-12-24 12:37:51 +01:00
parent daaba731a7
commit bdf46079f5
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,11 +1,12 @@
{ fetchurl, stdenv, pkgconfig, intltool, glib, gtk3 { fetchurl, stdenv, pkgconfig, intltool, glib, gtk3
, libgsf, libxml2, libxslt, cairo, pango, librsvg }: , libgsf, libxml2, libxslt, cairo, pango, librsvg, gnome3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "goffice-0.10.44"; pname = "goffice";
version = "0.10.44";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/goffice/0.10/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d"; sha256 = "1fd7cm6j0g0mqgpqs4y22b4gd2ll4mcyvg4d0q22d5ndjapl4q3d";
}; };
@ -20,6 +21,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
doCheck = true; doCheck = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = { meta = {
description = "A Glib/GTK+ set of document centric objects and utilities"; description = "A Glib/GTK+ set of document centric objects and utilities";